diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-11-19 11:16:28 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-11-19 11:16:28 -0300 |
commit | a4db7fe0f71463eb7256d3c42b7a582d3943d604 (patch) | |
tree | 3986e674275a63bc3c568eea9fdc2e6d0fdfbd25 /src/backend/access/gist/gistproc.c | |
parent | 6534d544cd77e14a93f5c779fa8addee8d916a66 (diff) | |
download | postgresql-a4db7fe0f71463eb7256d3c42b7a582d3943d604.tar.gz postgresql-a4db7fe0f71463eb7256d3c42b7a582d3943d604.zip |
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
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions