Provide an upgrade strategy for dump files containing functions declared
authorTom Lane
Sat, 21 Sep 2002 18:39:26 +0000 (18:39 +0000)
committerTom Lane
Sat, 21 Sep 2002 18:39:26 +0000 (18:39 +0000)
commiteb3adab5685ce5a60bcf96628244f1e2a8e0ab3b
tree55ba25cb13ec6a414c7faf86a6d8da8357cfbfe7
parentbc499687641a021e0dac3e146611b5a553cf0c5b
Provide an upgrade strategy for dump files containing functions declared
with OPAQUE.  CREATE LANGUAGE, CREATE TRIGGER, and CREATE TYPE will all
accept references to functions declared with OPAQUE --- but they will
issue a NOTICE, and will modify the function entries in pg_proc to have
the preferred type-safe argument or result types instead of OPAQUE.
Per recent pghackers discussions.
12 files changed:
doc/src/sgml/ref/create_language.sgml
doc/src/sgml/ref/create_trigger.sgml
doc/src/sgml/ref/create_type.sgml
src/backend/commands/define.c
src/backend/commands/functioncmds.c
src/backend/commands/proclang.c
src/backend/commands/trigger.c
src/backend/commands/typecmds.c
src/include/commands/defrem.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_comp.c
src/pl/tcl/pltcl.c