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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: fc47e99) | patch
Disallow COPY FREEZE on partitioned tables
2018年11月19日 14:16:28 +0000 (11:16 -0300)
2018年11月19日 14:16:28 +0000 (11:16 -0300)
commit 5c9a5513a3967367e5fcc9237bc4146f4b24b408
Disallow COPY FREEZE on partitioned tables

This didn't actually work: COPY would fail to flush the right files, and
instead would try to flush a non-existing file, causing the whole
transaction to fail.

Cope by raising an error as soon as the command is sent instead, to
avoid a nasty later surprise. Of course, it would be much better to
make it work, but we don't have a patch for that yet, and we don't know
if we'll want to backpatch one when we do.

Reported-by: Tomas Vondra
Author: David Rowley
Reviewed-by: Amit Langote, Steve Singer, Tomas Vondra
doc/src/sgml/perform.sgml diff | blob | blame | history
doc/src/sgml/ref/copy.sgml diff | blob | blame | history
src/backend/commands/copy.c diff | blob | blame | history
src/test/regress/input/copy.source diff | blob | blame | history
src/test/regress/output/copy.source diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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