diff options
| author | Robert Haas | 2010-11-26 22:27:23 +0000 |
|---|---|---|
| committer | Robert Haas | 2010-11-26 22:31:54 +0000 |
| commit | 55109313f96fb5c7d671fe8954b6f7fc0cca9631 (patch) | |
| tree | fdd483d66b324def736cec69770ece27c93b6b0e /src/include/commands/defrem.h | |
| parent | 1d9a0abec1224193fea3acf766b587fc3963a3b8 (diff) | |
Add more ALTER <object> .. SET SCHEMA commands.
This adds support for changing the schema of a conversion, operator,
operator class, operator family, text search configuration, text search
dictionary, text search parser, or text search template.
Dimitri Fontaine, with assorted corrections and other kibitzing.
Diffstat (limited to 'src/include/commands/defrem.h')
| -rw-r--r-- | src/include/commands/defrem.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 1dc1a7d1944..86d62af9ed2 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -76,6 +76,7 @@ extern void RemoveOperatorById(Oid operOid); extern void AlterOperatorOwner(List *name, TypeName *typeName1, TypeName *typename2, Oid newOwnerId); extern void AlterOperatorOwner_oid(Oid operOid, Oid newOwnerId); +extern void AlterOperatorNamespace(List *names, List *argtypes, const char *newschema); extern Oid get_opclass_oid(Oid amID, List *opclassname, bool missing_ok); extern Oid get_opfamily_oid(Oid amID, List *opfamilyname, bool missing_ok); @@ -100,13 +101,16 @@ extern void RenameOpClass(List *name, const char *access_method, const char *new extern void RenameOpFamily(List *name, const char *access_method, const char *newname); extern void AlterOpClassOwner(List *name, const char *access_method, Oid newOwnerId); extern void AlterOpClassOwner_oid(Oid opclassOid, Oid newOwnerId); +extern void AlterOpClassNamespace(List *name, List *argam, const char *newschema); extern void AlterOpFamilyOwner(List *name, const char *access_method, Oid newOwnerId); extern void AlterOpFamilyOwner_oid(Oid opfamilyOid, Oid newOwnerId); extern Oid get_am_oid(const char *amname, bool missing_ok); +extern void AlterOpFamilyNamespace(List *name, List *argam, const char *newschema); /* commands/tsearchcmds.c */ extern void DefineTSParser(List *names, List *parameters); extern void RenameTSParser(List *oldname, const char *newname); +extern void AlterTSParserNamespace(List *name, const char *newschema); extern void RemoveTSParsers(DropStmt *drop); extern void RemoveTSParserById(Oid prsId); @@ -116,9 +120,11 @@ extern void RemoveTSDictionaries(DropStmt *drop); extern void RemoveTSDictionaryById(Oid dictId); extern void AlterTSDictionary(AlterTSDictionaryStmt *stmt); extern void AlterTSDictionaryOwner(List *name, Oid newOwnerId); +extern void AlterTSDictionaryNamespace(List *name, const char *newschema); extern void DefineTSTemplate(List *names, List *parameters); extern void RenameTSTemplate(List *oldname, const char *newname); +extern void AlterTSTemplateNamespace(List *name, const char *newschema); extern void RemoveTSTemplates(DropStmt *stmt); extern void RemoveTSTemplateById(Oid tmplId); @@ -128,6 +134,7 @@ extern void RemoveTSConfigurations(DropStmt *stmt); extern void RemoveTSConfigurationById(Oid cfgId); extern void AlterTSConfiguration(AlterTSConfigurationStmt *stmt); extern void AlterTSConfigurationOwner(List *name, Oid newOwnerId); +extern void AlterTSConfigurationNamespace(List *name, const char *newschema); extern text *serialize_deflist(List *deflist); extern List *deserialize_deflist(Datum txt); |
