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 | 85efd1a04175951a97b087908121403e4cf4ef7a (patch) | |
tree | 3d6b78061e12df79d978f2d8b7d5daf76932e17b /src/backend/regex/re_syntax.n | |
parent | afbe03f6547015790d13d21d5eb5083cc604eeec (diff) |
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/regex/re_syntax.n')
0 files changed, 0 insertions, 0 deletions