pgsql: Fix crash in ALTER OPERATOR CLASS/FAMILY .. SET SCHEMA.
pgsql: Fix crash in ALTER OPERATOR CLASS/FAMILY .. SET SCHEMA.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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 Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=7f60be72b0865dd442c4f6164a997ff528a44d85 Modified Files -------------- src/backend/commands/alter.c | 4 ++-- src/backend/commands/opclasscmds.c | 9 ++------- src/backend/parser/gram.y | 4 ++-- src/include/commands/defrem.h | 4 ++-- 4 files changed, 8 insertions(+), 13 deletions(-)