Re: BUG #6227: No arguments for COPY OIDS and HEADER
От | Tom Lane |
---|---|
Тема | Re: BUG #6227: No arguments for COPY OIDS and HEADER |
Дата | |
Msg-id | 3900.1317175556@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | BUG #6227: No arguments for COPY OIDS and HEADER ("Itagaki Takahiro" <itagaki.takahiro@gmail.com>) |
Ответы |
Re: BUG #6227: No arguments for COPY OIDS and HEADER
|
Список | pgsql-bugs |
"Itagaki Takahiro" <itagaki.takahiro@gmail.com> writes: > Our documentation says OIDS and HEADER options in COPY command take [ > boolean ] arguments, but actually they don't accept any arguments. We can > only set them to TRUE by specifying their names. Um, these examples all work fine for me in HEAD: regression=# copy tenk1 to '/dev/null' with (oids); COPY 10000 regression=# copy tenk1 to '/dev/null' with (oids true); COPY 10000 regression=# copy tenk1 to '/dev/null' with (oids false); COPY 10000 regression=# copy tenk1 to '/dev/null' with (format csv, header); COPY 10000 regression=# copy tenk1 to '/dev/null' with (format csv, header true); COPY 10000 regression=# copy tenk1 to '/dev/null' with (format csv, header false); COPY 10000 Also, regression=# copy tenk1 to '/dev/null' with (oids fals); ERROR: oids requires a Boolean value so it is checking the argument. regards, tom lane
В списке pgsql-bugs по дате отправления: