1
0
mirror of https://github.com/postgres/postgres.git synced 2026-01-13 12:22:55 +03:00
Files
postgres/src/test/regress/sql
Michael Paquier 089aac631b Fix validation of COPY FORCE_NOT_NULL/FORCE_NULL for the all-column cases
This commit adds missing checks for COPY FORCE_NOT_NULL and FORCE_NULL
when applied to all columns via "*".  These options now correctly
require CSV mode and are disallowed in COPY TO, making their behavior
consistent with FORCE_QUOTE.

Some regression tests are added to verify the correct behavior for the
all-columns case, including FORCE_QUOTE, which was not tested.

Backpatch down to 17, where support for the all-column grammar with
FORCE_NOT_NULL and FORCE_NULL has been added.

Author: Joel Jacobson
Reviewed-by: Zhang Mingli
Discussion: https://postgr.es/m/65030d1d-5f90-4fa4-92eb-f5f50389858e@app.fastmail.com
Backpatch-through: 17
2024-10-17 08:44:50 +09:00
..
2024-01-31 15:02:28 +09:00
2024-07-12 13:44:19 +02:00
2024-04-15 08:34:45 +02:00
2024-10-11 11:02:09 -05:00
2024-07-19 11:52:32 -05:00
2022-08-25 10:31:20 +02:00
2024-10-07 10:56:16 -05:00
2024-07-02 10:43:12 +02:00
2024-02-28 15:17:23 +04:00
2024-08-12 10:35:06 -05:00
2024-09-21 15:17:46 -05:00
2024-04-18 21:28:07 +02:00
2024-04-16 16:21:31 +12:00
2024-03-19 09:32:04 +01:00