mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Support type modifiers for user-defined types, and pull most knowledge
about typmod representation for standard types out into type-specific typmod I/O functions. Teodor Sigaev, with some editorialization by Tom Lane.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.289 2006/12/24 00:29:18 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.290 2006/12/30 21:21:53 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every node type that can appear in stored rules' parsetrees *must*
|
||||
@@ -1476,7 +1476,8 @@ _outTypeName(StringInfo str, TypeName *node)
|
||||
WRITE_BOOL_FIELD(timezone);
|
||||
WRITE_BOOL_FIELD(setof);
|
||||
WRITE_BOOL_FIELD(pct_type);
|
||||
WRITE_INT_FIELD(typmod);
|
||||
WRITE_NODE_FIELD(typmods);
|
||||
WRITE_INT_FIELD(typemod);
|
||||
WRITE_NODE_FIELD(arrayBounds);
|
||||
WRITE_INT_FIELD(location);
|
||||
}
|
||||
|
Reference in New Issue
Block a user