pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Stabilize just-added regression test cases.
Date: Thu, 06 Apr 2023 22:14:37 +0000
Message-ID: <E1pkXsK-001kGJ-1s@gemulon.postgresql.org> (raw)

Stabilize just-added regression test cases.

The tests added by commits 029dea882 et al turn out to produce
different output under -DRANDOMIZE_ALLOCATED_MEMORY.  This is
not a bug exactly: that flag causes coerce_type() to invoke
the input function twice when coercing an unknown-type literal
to a specific type.  So you get tsqueryin's bleat about an empty
tsquery twice.  Revise the test query to avoid that.

Discussion: https://postgr.es/m/20230406213813.uep7plg6lvcywujo@awork3.anarazel.de

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1bee3ca2384fc635029390cf37159cb04250c67e

Modified Files
--------------
src/test/regress/expected/tsearch.out | 8 ++------
src/test/regress/sql/tsearch.sql      | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)



view thread (6+ messages)

Message-ID: <E1pkXsK-001kGJ-1s@gemulon.postgresql.org>
Permalink:  ../E1pkXsK-001kGJ-1s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pkXsK-001kGJ-1s@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Stabilize just-added regression test cases.
  In-Reply-To: <E1pkXsK-001kGJ-1s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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