1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00
Robert Haas cfbecf8100 Enforce child constraints during COPY TO a partitioned table.
The previous coding inadvertently checked the constraints for the
partitioned table rather than the target partition, which could
lead to data in a partition that fails to satisfy some constraint
on that partition.  This problem seems to date back to when
table partitioning was introduced; prior to that, there was only
one target table for a COPY, so the problem didn't occur, and the
code just didn't get updated.

Etsuro Fujita, reviewed by Amit Langote and Ashutosh Bapat

Discussion: https://postgr.es/message-id/5ABA4074.1090500%40lab.ntt.co.jp
2018-04-06 11:42:28 -04:00
..
2018-04-05 13:19:13 +01:00
2018-03-31 20:26:47 -07:00
2018-01-02 23:30:12 -05:00
2018-04-05 09:54:07 +01:00
2017-08-07 13:55:34 -04:00
2018-01-21 15:40:46 +01:00
2018-01-02 23:30:12 -05:00
2018-04-05 19:55:11 +03:00
2018-03-30 17:33:04 -07:00
2017-05-15 12:19:54 -04:00