mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Fix crash in ALTER OPERATOR CLASS/FAMILY .. SET SCHEMA.
In the previous coding, the parser emitted a List containing a C string, which is no good, because copyObject() can't handle it. Dimitri Fontaine
This commit is contained in:
@@ -101,11 +101,11 @@ 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 AlterOpClassNamespace(List *name, char *access_method, 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);
|
||||
extern void AlterOpFamilyNamespace(List *name, char *access_method, const char *newschema);
|
||||
|
||||
/* commands/tsearchcmds.c */
|
||||
extern void DefineTSParser(List *names, List *parameters);
|
||||
|
||||
Reference in New Issue
Block a user