pgsql: Avoid naming conflict between transactions.sql and namespace.sql - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Avoid naming conflict between transactions.sql and namespace.sql
Date
Msg-id E1q01YN-000h28-5s@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Avoid naming conflict between transactions.sql and namespace.sql.

Commits 681d9e462 et al added a test case in namespace.sql that
implicitly relied on there not being a table "public.abc".
However, the concurrently-run transactions.sql test creates precisely
such a table, so with the right timing you'd get a failure.
Creating a table named as generically as "abc" in a common schema
seems like bad practice, so fix this by changing the name of
transactions.sql's table.  (Compare 2cf8c7aa4.)

Marina Polyakova

Discussion: https://postgr.es/m/80d0201636665d82185942e7112257b4@postgrespro.ru

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4cdda71d4dc33dd35e8cdbca5dd2e2a7a1234092

Modified Files
--------------
src/test/regress/expected/transactions.out | 76 +++++++++++++++---------------
src/test/regress/sql/transactions.sql      | 64 ++++++++++++-------------
2 files changed, 70 insertions(+), 70 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Remove stray mid-sentence tabs in comments
Next
From: Tomas Vondra
Date:
Subject: pgsql: Describe hash join implementation