This website requires JavaScript.
Explore
Help
Sign In
mirror
/
postgresql
Watch
2
Star
0
Fork
0
You've already forked postgresql
mirror of
https://git.postgresql.org/git/postgresql.git
synced
2025-01-30 19:00:29 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0813216cb4
postgresql
/
contrib
/
file_fdw
/
data
/
text.csv
6 lines
86 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Provide a FORCE NULL option to COPY in CSV mode. This forces an input field containing the quoted null string to be returned as a NULL. Without this option, only unquoted null strings behave this way. This helps where some CSV producers insist on quoting every field, whether or not it is needed. The option takes a list of fields, and only applies to those columns. There is an equivalent column-level option added to file_fdw. Ian Barwick, with some tweaking by Andrew Dunstan, reviewed by Payal Singh.
2014-03-05 06:31:59 +08:00
AAA,aaa,123,""
XYZ,xyz,"",321
NULL,NULL,NULL,NULL
NULL,NULL,"NULL",NULL
ABC,abc,"",""
Reference in New Issue
Copy Permalink