mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Define a new, more extensible syntax for COPY options.
This is intentionally similar to the recently revised syntax for EXPLAIN options, ie, (name value, ...). The old syntax is still supported for backwards compatibility, but we intend that any options added in future will be provided only in the new syntax. Robert Haas, Emmanuel Cecchet
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/define.c,v 1.105 2009/07/26 23:34:17 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/define.c,v 1.106 2009/09/21 20:10:21 tgl Exp $
|
||||
*
|
||||
* DESCRIPTION
|
||||
* The "DefineFoo" routines take the parse tree and pick out the
|
||||
@ -88,6 +88,8 @@ defGetString(DefElem *def)
|
||||
return TypeNameToString((TypeName *) def->arg);
|
||||
case T_List:
|
||||
return NameListToString((List *) def->arg);
|
||||
case T_A_Star:
|
||||
return pstrdup("*");
|
||||
default:
|
||||
elog(ERROR, "unrecognized node type: %d", (int) nodeTag(def->arg));
|
||||
}
|
||||
|
Reference in New Issue
Block a user