postgresql/src/backend
Alvaro Herrera 5c9a5513a3 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
2018-11-19 11:16:28 -03:00
..
access PANIC on fsync() failure. 2018-11-19 17:41:26 +13:00
bootstrap Install a check for mis-linking of src/port and src/common functions. 2018-09-09 12:23:23 -04:00
catalog Make TupleTableSlots extensible, finish split of existing slot type. 2018-11-16 16:35:15 -08:00
commands Disallow COPY FREEZE on partitioned tables 2018-11-19 11:16:28 -03:00
executor Fix some spurious new compiler warnings in MSVC. 2018-11-17 11:41:14 -08:00
foreign Correct constness of a few variables. 2018-10-15 21:01:14 -07:00
jit Make TupleTableSlots extensible, finish split of existing slot type. 2018-11-16 16:35:15 -08:00
lib Rename rbtree.c functions to use "rbt" prefix not "rb" prefix. 2018-11-06 13:25:24 -05:00
libpq Fix const correctness warning. 2018-11-13 19:03:02 +13:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Revise attribute handling code on partition creation 2018-11-08 16:22:09 -03:00
optimizer Redesign initialization of partition routing structures 2018-11-16 15:01:05 -03:00
parser Fix realfailN lexer rules to not make assumptions about input format. 2018-11-13 14:54:41 -05:00
partitioning Introduce notion of different types of slots (without implementing them). 2018-11-15 22:00:30 -08:00
po Translation updates 2018-06-25 12:37:18 +02:00
port Fix spelling errors and typos in comments 2018-11-02 13:56:52 +01:00
postmaster Avoid defining SIGTTIN/SIGTTOU on Windows. 2018-11-17 16:31:16 -05:00
regex Clean up warnings from -Wimplicit-fallthrough. 2018-05-01 19:35:08 -04:00
replication PANIC on fsync() failure. 2018-11-19 17:41:26 +13:00
rewrite Change rewriter/planner/executor/plancache to depend on RTE rellockmode. 2018-10-02 14:43:09 -04:00
snowball Sync our Snowball stemmer dictionaries with current upstream. 2018-09-24 17:29:38 -04:00
statistics Fix typos. 2018-08-27 09:32:59 +12:00
storage PANIC on fsync() failure. 2018-11-19 17:41:26 +13:00
tcop Introduce notion of different types of slots (without implementing them). 2018-11-15 22:00:30 -08:00
tsearch Make ts_locale.c's character-type functions cope with UTF-16. 2018-11-03 13:56:10 -04:00
utils PANIC on fsync() failure. 2018-11-19 17:41:26 +13:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Refactor dlopen() support 2018-09-06 11:33:04 +02:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Translation updates 2018-06-25 12:37:18 +02:00