mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Adjust more backend functions to return OID rather than void.
This is again intended to support extensions to the event trigger functionality. This may go a bit further than we need for that purpose, but there's some value in being consistent, and the OID may be useful for other purposes also. Dimitri Fontaine
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
/* CopyStateData is private in commands/copy.c */
|
||||
typedef struct CopyStateData *CopyState;
|
||||
|
||||
extern uint64 DoCopy(const CopyStmt *stmt, const char *queryString);
|
||||
extern Oid DoCopy(const CopyStmt *stmt, const char *queryString,
|
||||
uint64 *processed);
|
||||
|
||||
extern void ProcessCopyOptions(CopyState cstate, bool is_from, List *options);
|
||||
extern CopyState BeginCopyFrom(Relation rel, const char *filename,
|
||||
|
Reference in New Issue
Block a user