diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-06-06 00:41:28 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-06-06 00:41:28 +0000 |
| commit | c541bb86e9ec8fed37b23df6a0df703d0bde4dfa (patch) | |
| tree | b4cff96eecc86e338274ec5d7355918efe9c149e /src/include/funcapi.h | |
| parent | c3a153afed84e29dac664bdc6123724a9e3a906f (diff) | |
| download | postgresql-c541bb86e9ec8fed37b23df6a0df703d0bde4dfa.tar.gz | |
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.
Diffstat (limited to 'src/include/funcapi.h')
| -rw-r--r-- | src/include/funcapi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/funcapi.h b/src/include/funcapi.h index fd1660423e..77b410c3fb 100644 --- a/src/include/funcapi.h +++ b/src/include/funcapi.h @@ -9,7 +9,7 @@ * * Copyright (c) 2002-2003, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/funcapi.h,v 1.11 2004/04/01 21:28:46 tgl Exp $ + * $PostgreSQL: pgsql/src/include/funcapi.h,v 1.12 2004/06/06 00:41:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -40,8 +40,8 @@ typedef struct AttInMetadata /* array of attribute type input function finfo */ FmgrInfo *attinfuncs; - /* array of attribute type typelem */ - Oid *attelems; + /* array of attribute type i/o parameter OIDs */ + Oid *attioparams; /* array of attribute typmod */ int32 *atttypmods; |
