diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-25 03:28:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-25 03:28:56 +0000 |
commit | e8e746de34d1f43a4b3936ff73630a70244cdc5f (patch) | |
tree | d0e470c15f42d670d0a6806ccc60604bb854d2ec /src/backend/commands/typecmds.c | |
parent | 436e6af2ad8d0898612156dbb12a78f8cd22e455 (diff) | |
download | postgresql-e8e746de34d1f43a4b3936ff73630a70244cdc5f.tar.gz postgresql-e8e746de34d1f43a4b3936ff73630a70244cdc5f.zip |
Establish the rule that array types should have the same typdelim as their
element types. Since the backend doesn't actually pay attention to the array
type's delimiter, this has no functional effect, but it seems better for the
catalog entries to be consistent. Per gripe from Greg Mullane and subsequent
discussion.
Diffstat (limited to 'src/backend/commands/typecmds.c')
-rw-r--r-- | src/backend/commands/typecmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c index c0dc74bee79..3e573bc3943 100644 --- a/src/backend/commands/typecmds.c +++ b/src/backend/commands/typecmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.123 2008/08/28 23:09:45 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.124 2008/09/25 03:28:56 tgl Exp $ * * DESCRIPTION * The "DefineFoo" routines take the parse tree and pick out the @@ -497,7 +497,7 @@ DefineType(List *names, List *parameters) TYPTYPE_BASE, /* type-type (base type) */ TYPCATEGORY_ARRAY, /* type-category (array) */ false, /* array types are never preferred */ - DEFAULT_TYPDELIM, /* array element delimiter */ + delimiter, /* array element delimiter */ F_ARRAY_IN, /* input procedure */ F_ARRAY_OUT, /* output procedure */ F_ARRAY_RECV, /* receive procedure */ |