Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE. However, we did not create a pg_depend record when doing that, so the functions were left not depending on the type.
Fixes bug #14706, reported by Karen Huddleston. Discussion: https://www.postgresql.org/message-id/20170614232259.1424.82...@wrigleys.postgresql.org Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a9a5eb32b38443540def8f2d47f0b118601acbf5 Modified Files -------------- src/backend/commands/functioncmds.c | 20 ++++++++++++++++++++ src/test/regress/expected/create_type.out | 25 +++++++++++++++++++++++++ src/test/regress/sql/create_type.sql | 11 +++++++++++ 3 files changed, 56 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers