mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
1 add namespaces as Tom suggest http://www.pgsql.ru/db/mw/msg.html?mid=1987703
2 remove select qeury in inserts
This commit is contained in:
@@ -21,4 +21,13 @@ int text_cmp(text *a, text *b);
|
||||
|
||||
void ts_error(int state, const char *format,...);
|
||||
|
||||
extern Oid TSNSP_FunctionOid; /* oid of called function, needed only for determ namespace, no more */
|
||||
char* get_namespace(Oid funcoid);
|
||||
Oid get_oidnamespace(Oid funcoid);
|
||||
|
||||
#define SET_FUNCOID() do { \
|
||||
if ( fcinfo->flinfo && fcinfo->flinfo->fn_oid != InvalidOid ) \
|
||||
TSNSP_FunctionOid = fcinfo->flinfo->fn_oid; \
|
||||
} while(0)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user