From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make some ecpg test cases more robust against unexpected errors |
Date: | 2019-01-30 09:39:44 |
Message-ID: | E1gomLQ-0001TQ-Ke@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make some ecpg test cases more robust against unexpected errors that happen
during development. Test cases themselves should not hang or segfault.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e2f731cdba9b7a79cddc64325990a8f51818877b
Modified Files
--------------
.../ecpg/test/compat_informix/test_informix.pgc | 1 -
.../ecpg/test/compat_informix/test_informix2.pgc | 4 +-
.../ecpg/test/compat_oracle/char_array.pgc | 2 +-
.../test/expected/compat_informix-test_informix.c | 33 +++--
.../expected/compat_informix-test_informix.stderr | 42 +++---
.../test/expected/compat_informix-test_informix2.c | 84 ++++++-----
.../expected/compat_informix-test_informix2.stderr | 58 ++++----
.../ecpg/test/expected/compat_oracle-char_array.c | 30 ++--
.../ecpg/test/expected/preproc-outofscope.c | 61 ++++----
.../ecpg/test/expected/preproc-outofscope.stderr | 102 +++++++-------
.../test/expected/preproc-whenever_do_continue.c | 16 +--
src/interfaces/ecpg/test/expected/sql-binary.c | 156 +++++++++++----------
.../ecpg/test/expected/sql-binary.stderr | 96 ++++++-------
src/interfaces/ecpg/test/expected/sql-fetch.c | 69 ++++-----
src/interfaces/ecpg/test/expected/sql-fetch.stderr | 28 ++--
src/interfaces/ecpg/test/expected/sql-quote.c | 32 ++---
src/interfaces/ecpg/test/preproc/outofscope.pgc | 11 --
.../ecpg/test/preproc/whenever_do_continue.pgc | 2 +-
src/interfaces/ecpg/test/sql/binary.pgc | 56 ++------
src/interfaces/ecpg/test/sql/fetch.pgc | 10 +-
src/interfaces/ecpg/test/sql/quote.pgc | 2 +-
21 files changed, 408 insertions(+), 487 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2019-01-30 09:54:33 | Re: pgsql: Fix a crash in logical replication |
Previous Message | Peter Eisentraut | 2019-01-30 07:58:56 | pgsql: Fix a crash in logical replication |