pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Change test tables in copy2 regression test to be temporary
3+ messages / 2 participants
[nested] [flat]

* pgsql: Change test tables in copy2 regression test to be temporary
@ 2009-06-14 00:00 Tom Lane <tgl@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: tgl@postgresql.org @ 2009-06-14 00:00 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Change test tables in copy2 regression test to be temporary tables.
This prevents autovacuum from reclaiming free space in them and causing
the test's output row order to change, which is causing intermittent
bogus failure reports in the buildfarm.

Backpatch to 8.3.  The issue exists further back, but since autovacuum was
not on by default before 8.3, it's not a problem for buildfarm testing.

Modified Files:
--------------
    pgsql/src/test/regress/expected:
        copy2.out (r1.25 -> r1.26)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/copy2.out?r1=1.25&r2=1....)
    pgsql/src/test/regress/sql:
        copy2.sql (r1.16 -> r1.17)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/copy2.sql?r1=1.16&r2=1.17)




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Change test tables in copy2 regression test to be temporary
@ 2009-06-14 00:00 Tom Lane <tgl@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: tgl@postgresql.org @ 2009-06-14 00:00 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Change test tables in copy2 regression test to be temporary tables.
This prevents autovacuum from reclaiming free space in them and causing
the test's output row order to change, which is causing intermittent
bogus failure reports in the buildfarm.

Backpatch to 8.3.  The issue exists further back, but since autovacuum was
not on by default before 8.3, it's not a problem for buildfarm testing.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/test/regress/expected:
        copy2.out (r1.25 -> r1.25.4.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/copy2.out?r1=1.25&r2=1....)
    pgsql/src/test/regress/sql:
        copy2.sql (r1.16 -> r1.16.4.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/copy2.sql?r1=1.16&r2=1.16.4....)




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: libpq: Fix error messages when server rejects SSL or GSS
@ 2024-04-29 15:14 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2024-04-29 15:14 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

libpq: Fix error messages when server rejects SSL or GSS

These messages were lost in commit 05fd30c0e7. Put them back.

This makes one change in the error message behavior compared to v16,
in the case that the server responds to GSSRequest with an error
instead of rejecting it with 'N'. Previously, libpq would hide the
error that the server sent, assuming that you got the error because
the server is an old pre-v12 version that doesn't understand the
GSSRequest message. A v11 server sends a "FATAL: unsupported frontend
protocol 1234.5680: server supports 2.0 to 3.0" error if you try to
connect to it with GSS. That was a reasonable assumption when the
feature was introduced, but v12 was released a long time ago and I
don't think it's the most probable cause anymore. The attached patch
changes things so that libpq prints the error message that the server
sent in that case, making the "server responds with error to
GSSRequest" case behave the same as the "server responds with error to
SSLRequest" case.

Reported-by: Peter Eisentraut
Discussion: https://www.postgresql.org/message-id/bb3b94da-afc7-438d-8940-cb946e553d9d@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87d2801d4b247b85b70553e43b7e6db0a1e9e7cb

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 49 ++++++++++++++++++++++++++++-----------
1 file changed, 35 insertions(+), 14 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-04-29 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-14 00:00 pgsql: Change test tables in copy2 regression test to be temporary Tom Lane <tgl@postgresql.org>
2009-06-14 00:00 pgsql: Change test tables in copy2 regression test to be temporary Tom Lane <tgl@postgresql.org>
2024-04-29 15:14 pgsql: libpq: Fix error messages when server rejects SSL or GSS Heikki Linnakangas <heikki.linnakangas@iki.fi>

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