-
- Downloads
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
Showing
- doc/src/sgml/perform.sgml 2 additions, 2 deletionsdoc/src/sgml/perform.sgml
- doc/src/sgml/ref/copy.sgml 3 additions, 1 deletiondoc/src/sgml/ref/copy.sgml
- src/backend/commands/copy.c 27 additions, 2 deletionssrc/backend/commands/copy.c
- src/test/regress/input/copy.source 29 additions, 0 deletionssrc/test/regress/input/copy.source
- src/test/regress/output/copy.source 23 additions, 0 deletionssrc/test/regress/output/copy.source
Loading
Please register or sign in to comment