mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
3b5e03dca2
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.
86 B
86 B
1 | AAA | aaa | 123 | |
---|---|---|---|---|
2 | XYZ | xyz | 321 | |
3 | NULL | NULL | NULL | NULL |
4 | NULL | NULL | NULL | NULL |
5 | ABC | abc |