mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +03:00
Allow * as parameter for FORCE QUOTE for COPY CSV. Itagaki Takahiro.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.671 2009/07/20 02:42:28 adunstan Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/parser/gram.y,v 2.672 2009/07/25 00:07:11 adunstan Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@@ -2028,6 +2028,10 @@ copy_opt_item:
|
||||
{
|
||||
$$ = makeDefElem("force_quote", (Node *)$3);
|
||||
}
|
||||
| FORCE QUOTE '*'
|
||||
{
|
||||
$$ = makeDefElem("force_quote", (Node *)makeNode(A_Star));
|
||||
}
|
||||
| FORCE NOT NULL_P columnList
|
||||
{
|
||||
$$ = makeDefElem("force_notnull", (Node *)$4);
|
||||
|
Reference in New Issue
Block a user