git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c181f2e) | patch
Provide FORCE_NULL * and FORCE_NOT_NULL * options for COPY FROM
2023年9月30日 16:34:41 +0000 (12:34 -0400)
2023年9月30日 16:34:41 +0000 (12:34 -0400)
commit f6d4c9cf162b70f2837fb6c2a83e80a3f3410695
Provide FORCE_NULL * and FORCE_NOT_NULL * options for COPY FROM

These options already exist, but you need to specify a column list for
them, which can be cumbersome. We already have the possibility of all
columns for FORCE QUOTE, so this is simply extending that facility to
FORCE_NULL and FORCE_NOT_NULL.

Author: Zhang Mingli
Reviewed-By: Richard Guo, Kyatoro Horiguchi, Michael Paquier.
Discussion: https://postgr.es/m/CACJufxEnVqzOFtqhexF2+AwOKFrV8zHOY3y=p+gPK6eB14pn_w@mail.gmail.com
doc/src/sgml/ref/copy.sgml diff | blob | blame | history
src/backend/commands/copy.c diff | blob | blame | history
src/backend/commands/copyfrom.c diff | blob | blame | history
src/backend/commands/copyto.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/include/commands/copy.h diff | blob | blame | history
src/test/regress/expected/copy2.out diff | blob | blame | history
src/test/regress/sql/copy2.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /