pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Rewrite some regression queries for option checks with COPY 3+ messages / 1 participants [nested] [flat]
* pgsql: Rewrite some regression queries for option checks with COPY @ 2024-10-16 22:22 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2024-10-16 22:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Rewrite some regression queries for option checks with COPY Some queries in copy2 are there to check various option combinations, and used "stdin" or "stdout" incompatible with the COPY TO or FROM clauses combined with them, which was confusing. This commit rewrites these queries to use a compatible grammar. The coverage of the tests is unchanged. Like the original commit 451d1164b9d0, backpatch down to 16 where these have been introduced. A follow-up commit will rely on this area of the tests for a bug fix. Author: Joel Jacobson Reviewed-by: Zhang Mingli Discussion: https://postgr.es/m/65030d1d-5f90-4fa4-92eb-f5f50389858e@app.fastmail.com Backpatch-through: 16 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a30c1ca21c584cb0917a5e6fbe086164cd8bec6a Modified Files -------------- src/test/regress/expected/copy2.out | 26 +++++++++++++------------- src/test/regress/sql/copy2.sql | 18 +++++++++--------- 2 files changed, 22 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Rewrite some regression queries for option checks with COPY @ 2024-10-16 22:22 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2024-10-16 22:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Rewrite some regression queries for option checks with COPY Some queries in copy2 are there to check various option combinations, and used "stdin" or "stdout" incompatible with the COPY TO or FROM clauses combined with them, which was confusing. This commit rewrites these queries to use a compatible grammar. The coverage of the tests is unchanged. Like the original commit 451d1164b9d0, backpatch down to 16 where these have been introduced. A follow-up commit will rely on this area of the tests for a bug fix. Author: Joel Jacobson Reviewed-by: Zhang Mingli Discussion: https://postgr.es/m/65030d1d-5f90-4fa4-92eb-f5f50389858e@app.fastmail.com Backpatch-through: 16 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/03bf0d9a4ba0fb7a908b5a79eb80e0c983b51e87 Modified Files -------------- src/test/regress/expected/copy2.out | 26 +++++++++++++------------- src/test/regress/sql/copy2.sql | 18 +++++++++--------- 2 files changed, 22 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Rewrite some regression queries for option checks with COPY @ 2024-10-16 22:22 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2024-10-16 22:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Rewrite some regression queries for option checks with COPY Some queries in copy2 are there to check various option combinations, and used "stdin" or "stdout" incompatible with the COPY TO or FROM clauses combined with them, which was confusing. This commit rewrites these queries to use a compatible grammar. The coverage of the tests is unchanged. Like the original commit 451d1164b9d0, backpatch down to 16 where these have been introduced. A follow-up commit will rely on this area of the tests for a bug fix. Author: Joel Jacobson Reviewed-by: Zhang Mingli Discussion: https://postgr.es/m/65030d1d-5f90-4fa4-92eb-f5f50389858e@app.fastmail.com Backpatch-through: 16 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a34297926c9fec113eadf49f6429729bd5ab991a Modified Files -------------- src/test/regress/expected/copy2.out | 14 +++++++------- src/test/regress/sql/copy2.sql | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-10-16 22:22 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-10-16 22:22 pgsql: Rewrite some regression queries for option checks with COPY Michael Paquier <michael@paquier.xyz> 2024-10-16 22:22 pgsql: Rewrite some regression queries for option checks with COPY Michael Paquier <michael@paquier.xyz> 2024-10-16 22:22 pgsql: Rewrite some regression queries for option checks with COPY Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox