]> granicus.if.org Git - postgresql/commit
Change CREATE TYPE to require datatype output and send functions to have
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 May 2005 18:56:19 +0000 (18:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 May 2005 18:56:19 +0000 (18:56 +0000)
commit6c412f0605afeb809014553ff7ad28cf9ed5526b
tree5540a678c19dcfa1a7023e0f59a970fe2a9a79ee
parentae793ff63cb9167ea6d0f24ca018ffabad157ece
Change CREATE TYPE to require datatype output and send functions to have
only one argument.  (Per recent discussion, the option to accept multiple
arguments is pretty useless for user-defined types, and would be a likely
source of security holes if it was used.)  Simplify call sites of
output/send functions to not bother passing more than one argument.
18 files changed:
doc/src/sgml/ref/create_type.sgml
src/backend/access/common/printtup.c
src/backend/bootstrap/bootstrap.c
src/backend/commands/copy.c
src/backend/commands/typecmds.c
src/backend/executor/spi.c
src/backend/nodes/print.c
src/backend/tcop/fastpath.c
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/rowtypes.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/adt/varlena.c
src/backend/utils/cache/lsyscache.c
src/backend/utils/misc/guc.c
src/include/utils/lsyscache.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_exec.c
src/pl/tcl/pltcl.c