mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +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:
@@ -22,9 +22,9 @@
|
||||
#define RULE_FIRES_ON_REPLICA 'R'
|
||||
#define RULE_DISABLED 'D'
|
||||
|
||||
extern void DefineRule(RuleStmt *stmt, const char *queryString);
|
||||
extern Oid DefineRule(RuleStmt *stmt, const char *queryString);
|
||||
|
||||
extern void DefineQueryRewrite(char *rulename,
|
||||
extern Oid DefineQueryRewrite(char *rulename,
|
||||
Oid event_relid,
|
||||
Node *event_qual,
|
||||
CmdType event_type,
|
||||
|
Reference in New Issue
Block a user