]> granicus.if.org Git - postgresql/commit
Infrastructure for I/O of composite types: arrange for the I/O routines
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Jun 2004 00:41:28 +0000 (00:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 6 Jun 2004 00:41:28 +0000 (00:41 +0000)
commitc541bb86e9ec8fed37b23df6a0df703d0bde4dfa
treeb4cff96eecc86e338274ec5d7355918efe9c149e
parentc3a153afed84e29dac664bdc6123724a9e3a906f
Infrastructure for I/O of composite types: arrange for the I/O routines
of a composite type to get that type's OID as their second parameter,
in place of typelem which is useless.  The actual changes are mostly
centralized in getTypeInputInfo and siblings, but I had to fix a few
places that were fetching pg_type.typelem for themselves instead of
using the lsyscache.c routines.  Also, I renamed all the related variables
from 'typelem' to 'typioparam' to discourage people from assuming that
they necessarily contain array element types.
25 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/executor/execTuples.c
src/backend/executor/nodeAgg.c
src/backend/executor/spi.c
src/backend/nodes/print.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_type.c
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/adt/varlena.c
src/backend/utils/cache/lsyscache.c
src/include/funcapi.h
src/include/utils/array.h
src/include/utils/lsyscache.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/plpgsql.h
src/pl/plpython/plpython.c
src/pl/tcl/pltcl.c