diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2014-03-04 17:31:59 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2014-03-04 17:31:59 -0500 |
commit | 3b5e03dca2afea7a2c12dbc8605175d0568b5555 (patch) | |
tree | 4fadb752688feee0a0c08273f0bbb857e5fce429 /src/backend/executor/nodeFunctionscan.c | |
parent | e2a0fc5363e293d29053d0582a1009bc9fef0276 (diff) | |
download | postgresql-3b5e03dca2afea7a2c12dbc8605175d0568b5555.tar.gz postgresql-3b5e03dca2afea7a2c12dbc8605175d0568b5555.zip |
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.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions