postgresql/src/interfaces/ecpg/test/expected
Michael Paquier 7e61e4cc7c Make two-phase tests of ECPG and main suite more concurrent-proof
The ECPG and main 2PC tests have been using rather-generic names for the
prepared transactions they generate.  This commit switches the 2PC
transactions to use more complex GIDs, reducing the risk of naming
conflicts.

The main 2PC tests also include scans of pg_prepared_xacts that do not
apply filters on the GID of the prepared transactions, making it
possible to fail the test when any 2PC transaction runs concurrently.
The CI has been able to see such failures with an installcheck
running the ECPG and the main regression test suites in parallel.  The
queries on pg_prepared_xacts gain quals to only look after the GIDs
generated locally.

The race is very hard to reproduce, so no backbatch is done for now.

Reported-by: Richard Guo
Discussion: https://postgr.es/m/CAMbWs4-mWCGbbE_bne5=AfqjYGDaUZmjCw2+soLjrdNA0xUDFw@mail.gmail.com
2024-04-29 21:10:41 +09:00
..
compat_informix-charfuncs.c
compat_informix-charfuncs.stderr
compat_informix-charfuncs.stdout
compat_informix-dec_test.c Un-break ecpg tests for Windows. 2019-06-02 11:07:54 -04:00
compat_informix-dec_test.stderr
compat_informix-dec_test.stdout ecpg: Fix return code for overflow in numeric conversion 2024-03-25 14:18:36 +01:00
compat_informix-describe.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
compat_informix-describe.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
compat_informix-describe.stdout
compat_informix-intoasc.c ecpg: Fix zero-termination of string generated by intoasc() 2024-02-19 11:38:18 +09:00
compat_informix-intoasc.stderr ecpg: Fix zero-termination of string generated by intoasc() 2024-02-19 11:38:18 +09:00
compat_informix-intoasc.stdout ecpg: Fix zero-termination of string generated by intoasc() 2024-02-19 11:38:18 +09:00
compat_informix-rfmtdate.c Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
compat_informix-rfmtdate.stderr
compat_informix-rfmtdate.stdout
compat_informix-rfmtlong.c Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
compat_informix-rfmtlong.stderr
compat_informix-rfmtlong.stdout
compat_informix-rnull.c Fix MSVC warning in compat_informix/rnull.pgc 2022-08-31 09:31:22 -07:00
compat_informix-rnull.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
compat_informix-rnull.stdout
compat_informix-sqlda.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
compat_informix-sqlda.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
compat_informix-sqlda.stdout
compat_informix-test_informix.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
compat_informix-test_informix.stderr Make some ecpg test cases more robust against unexpected errors that happen 2019-01-30 10:39:32 +01:00
compat_informix-test_informix.stdout
compat_informix-test_informix2.c Make some ecpg test cases more robust against unexpected errors that happen 2019-01-30 10:39:32 +01:00
compat_informix-test_informix2.stderr Make some ecpg test cases more robust against unexpected errors that happen 2019-01-30 10:39:32 +01:00
compat_informix-test_informix2.stdout
compat_oracle-char_array.c ecpg: Fix handling of strings in ORACLE compat code with SQLDA 2023-04-18 11:20:41 +09:00
compat_oracle-char_array.stderr ecpg: Fix handling of strings in ORACLE compat code with SQLDA 2023-04-18 11:20:41 +09:00
compat_oracle-char_array.stdout ecpg: Fix handling of strings in ORACLE compat code with SQLDA 2023-04-18 11:20:41 +09:00
connect-test1-minGW32.stderr Update ecpg's connect-test1 for connection-failure message changes. 2021-01-23 15:08:39 -05:00
connect-test1.c Increase hard-wired timeout values in ecpg regression tests. 2020-08-04 15:20:31 -04:00
connect-test1.stderr Update ecpg's connect-test1 for connection-failure message changes. 2021-01-23 15:08:39 -05:00
connect-test1.stdout
connect-test2.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
connect-test2.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
connect-test2.stdout
connect-test3.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
connect-test3.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
connect-test3.stdout
connect-test4.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
connect-test4.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
connect-test4.stdout
connect-test5.c Use ICU by default at initdb time. 2023-03-09 10:52:41 -08:00
connect-test5.stderr Use ICU by default at initdb time. 2023-03-09 10:52:41 -08:00
connect-test5.stdout
pgtypeslib-dt_test.c Fix off-by-one error in PGTYPEStimestamp_fmt_asc 2019-11-30 14:51:27 +01:00
pgtypeslib-dt_test.stderr Fix off-by-one error in PGTYPEStimestamp_fmt_asc 2019-11-30 14:51:27 +01:00
pgtypeslib-dt_test.stdout Fix off-by-one error in PGTYPEStimestamp_fmt_asc 2019-11-30 14:51:27 +01:00
pgtypeslib-dt_test2.c Add PGTYPESchar_free() to avoid cross-module problems on Windows. 2018-06-18 18:33:53 +12:00
pgtypeslib-dt_test2.stderr
pgtypeslib-dt_test2.stdout De-support floating-point timestamps. 2017-02-23 11:40:20 -05:00
pgtypeslib-nan_test.c Remove some code for old unsupported versions of MSVC 2019-10-08 10:50:54 +02:00
pgtypeslib-nan_test.stderr Remove some code for old unsupported versions of MSVC 2019-10-08 10:50:54 +02:00
pgtypeslib-nan_test.stdout
pgtypeslib-num_test.c Fix range check in ECPG numeric to int conversion 2021-07-30 15:39:22 -04:00
pgtypeslib-num_test.stderr Fix range check in ECPG numeric to int conversion 2021-07-30 15:39:22 -04:00
pgtypeslib-num_test.stdout Fix range check in ECPG numeric to int conversion 2021-07-30 15:39:22 -04:00
pgtypeslib-num_test2.c Un-break ecpg tests for Windows. 2019-06-02 11:07:54 -04:00
pgtypeslib-num_test2.stderr
pgtypeslib-num_test2.stdout
preproc-array_of_struct.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
preproc-array_of_struct.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
preproc-array_of_struct.stdout
preproc-autoprep.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
preproc-autoprep.stderr Minor additional improvements for ecpglib/prepare.c. 2018-10-17 14:22:33 -04:00
preproc-autoprep.stdout
preproc-comment.c Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
preproc-comment.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
preproc-comment.stdout
preproc-cursor.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
preproc-cursor.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
preproc-cursor.stdout
preproc-define.c Remove duplicate include 2021-01-25 08:55:43 +01:00
preproc-define.stderr Remove duplicate include 2021-01-25 08:55:43 +01:00
preproc-define.stdout
preproc-describe.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
preproc-describe.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
preproc-describe.stdout
preproc-init.c Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
preproc-init.stderr
preproc-init.stdout
preproc-outofscope.c Harmonize parameter names in ecpg code. 2022-09-22 12:53:20 -07:00
preproc-outofscope.stderr Make some ecpg test cases more robust against unexpected errors that happen 2019-01-30 10:39:32 +01:00
preproc-outofscope.stdout
preproc-pointer_to_struct.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
preproc-pointer_to_struct.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
preproc-pointer_to_struct.stdout
preproc-strings.c Avoid re-using output variables in new ecpg test case. 2020-11-07 16:25:42 -05:00
preproc-strings.stderr Avoid re-using output variables in new ecpg test case. 2020-11-07 16:25:42 -05:00
preproc-strings.stdout Fix ecpg's mishandling of B'...' and X'...' literals. 2020-11-07 15:03:44 -05:00
preproc-type.c Fix ECPG's handling of type names that match SQL keywords. 2022-07-12 17:05:46 -04:00
preproc-type.stderr Fix ECPG's handling of type names that match SQL keywords. 2022-07-12 17:05:46 -04:00
preproc-type.stdout
preproc-variable.c Fix possible omission of variable storage markers in ECPG. 2022-09-09 15:34:04 -04:00
preproc-variable.stderr Fix possible omission of variable storage markers in ECPG. 2022-09-09 15:34:04 -04:00
preproc-variable.stdout Fix possible omission of variable storage markers in ECPG. 2022-09-09 15:34:04 -04:00
preproc-whenever.c Stop using spelling "nonexistant". 2019-06-08 10:12:26 -07:00
preproc-whenever.stderr Stop using spelling "nonexistant". 2019-06-08 10:12:26 -07:00
preproc-whenever.stdout
preproc-whenever_do_continue.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
preproc-whenever_do_continue.stderr Fix locale dependency in new ecpg test case. 2017-08-25 14:17:33 -04:00
preproc-whenever_do_continue.stdout Fix locale dependency in new ecpg test case. 2017-08-25 14:17:33 -04:00
sql-array.c Fix format truncation issue from ECPG test 2019-08-02 09:51:12 +09:00
sql-array.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-array.stdout
sql-binary.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
sql-binary.stderr Make some ecpg test cases more robust against unexpected errors that happen 2019-01-30 10:39:32 +01:00
sql-binary.stdout
sql-bytea.c Fix ecpg crash with bytea and cursor variables. 2020-06-30 18:34:41 +02:00
sql-bytea.stderr Fix ecpg crash with bytea and cursor variables. 2020-06-30 18:34:41 +02:00
sql-bytea.stdout Fix ecpg crash with bytea and cursor variables. 2020-06-30 18:34:41 +02:00
sql-code100.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
sql-code100.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-code100.stdout
sql-copystdout.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
sql-copystdout.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-copystdout.stdout
sql-createtableas.c Sync ECPG's CREATE TABLE AS statement with backend's. 2019-02-18 11:57:34 +01:00
sql-createtableas.stderr Sync ECPG's CREATE TABLE AS statement with backend's. 2019-02-18 11:57:34 +01:00
sql-createtableas.stdout Sync ECPG's CREATE TABLE AS statement with backend's. 2019-02-18 11:57:34 +01:00
sql-declare.c Improved ECPG warning as suggested by Michael Paquier and removed test case 2021-08-17 15:01:09 +02:00
sql-declare.stderr Improved ECPG warning as suggested by Michael Paquier and removed test case 2021-08-17 15:01:09 +02:00
sql-declare.stdout Improved ECPG warning as suggested by Michael Paquier and removed test case 2021-08-17 15:01:09 +02:00
sql-define.c Fix assorted bugs in ecpg's macro mechanism. 2024-04-16 12:31:42 -04:00
sql-define.stderr Fix assorted bugs in ecpg's macro mechanism. 2024-04-16 12:31:42 -04:00
sql-define.stdout Fix assorted bugs in ecpg's macro mechanism. 2024-04-16 12:31:42 -04:00
sql-desc.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
sql-desc.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-desc.stdout
sql-describe.c Remove unnecessary parentheses in return statements 2017-09-05 14:52:55 -04:00
sql-describe.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-describe.stdout
sql-dynalloc.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
sql-dynalloc.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-dynalloc.stdout
sql-dynalloc2.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
sql-dynalloc2.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-dynalloc2.stdout
sql-dyntest.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
sql-dyntest.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-dyntest.stdout
sql-execute.c Add documentation and tests for quote marks in ECPG literal queries. 2020-10-22 18:29:46 -04:00
sql-execute.stderr Add documentation and tests for quote marks in ECPG literal queries. 2020-10-22 18:29:46 -04:00
sql-execute.stdout
sql-fetch.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
sql-fetch.stderr Make some ecpg test cases more robust against unexpected errors that happen 2019-01-30 10:39:32 +01:00
sql-fetch.stdout
sql-func.c Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-func.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-func.stdout
sql-indicators.c Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
sql-indicators.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-indicators.stdout
sql-insupd.c Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-insupd.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-insupd.stdout
sql-oldexec.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
sql-oldexec.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-oldexec.stdout
sql-parser.c Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-parser.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-parser.stdout
sql-prepareas.c Implement PREPARE AS statement for ECPG. 2019-05-22 04:58:29 +02:00
sql-prepareas.stderr Implement PREPARE AS statement for ECPG. 2019-05-22 04:58:29 +02:00
sql-prepareas.stdout Implement PREPARE AS statement for ECPG. 2019-05-22 04:58:29 +02:00
sql-quote.c Revert "Add DECLARE STATEMENT support to ECPG." 2019-09-20 12:47:37 -04:00
sql-quote.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-quote.stdout
sql-show.c Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-show.stderr Establish conventions about global object names used in regression tests. 2016-07-17 18:42:43 -04:00
sql-show.stdout
sql-sqlda.c Harmonize parameter names in ecpg code. 2022-09-22 12:53:20 -07:00
sql-sqlda.stderr Remove HAVE_LONG_LONG_INT 2019-11-07 13:30:04 +01:00
sql-sqlda.stdout Second try at fixing numeric data passed through an ECPG SQLDA. 2018-11-14 11:27:47 -05:00
sql-sqljson.c Add more SQL/JSON constructor functions 2023-07-26 17:08:33 +09:00
sql-sqljson.stderr Unify some error messages 2023-08-16 16:17:00 +02:00
sql-sqljson.stdout Add more SQL/JSON constructor functions 2023-07-26 17:08:33 +09:00
sql-sqljson_jsontable.c JSON_TABLE: Add support for NESTED paths and columns 2024-04-08 16:14:13 +09:00
sql-sqljson_jsontable.stderr JSON_TABLE: Add support for NESTED paths and columns 2024-04-08 16:14:13 +09:00
sql-sqljson_jsontable.stdout JSON_TABLE: Add support for NESTED paths and columns 2024-04-08 16:14:13 +09:00
sql-twophase.c Make two-phase tests of ECPG and main suite more concurrent-proof 2024-04-29 21:10:41 +09:00
sql-twophase.stderr Make two-phase tests of ECPG and main suite more concurrent-proof 2024-04-29 21:10:41 +09:00
sql-twophase.stdout Add test case for two phase commit. Also by Masahiko Sawada. 2017-03-13 21:03:55 +01:00
thread-alloc.c Remove --disable-thread-safety and related code. 2023-07-12 08:20:43 +12:00
thread-alloc.stderr
thread-alloc.stdout
thread-alloc_2.stdout
thread-descriptor.c Remove --disable-thread-safety and related code. 2023-07-12 08:20:43 +12:00
thread-descriptor.stderr
thread-descriptor.stdout
thread-prep.c Remove --disable-thread-safety and related code. 2023-07-12 08:20:43 +12:00
thread-prep.stderr
thread-prep.stdout
thread-prep_2.stdout
thread-thread.c Remove --disable-thread-safety and related code. 2023-07-12 08:20:43 +12:00
thread-thread.stderr
thread-thread.stdout
thread-thread_2.stdout
thread-thread_implicit.c Remove --disable-thread-safety and related code. 2023-07-12 08:20:43 +12:00
thread-thread_implicit.stderr
thread-thread_implicit.stdout
thread-thread_implicit_2.stdout