pgsql: Avoid naming conflict between transactions.sql and namespace.sql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid naming conflict between transactions.sql and namespace.sql
Date: 2023-05-19 14:57:58
Message-ID: E1q01YN-000h2E-7I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6f1cf2efbd0199c58db9f256ade48f42f56cab49

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2023-05-19 15:18:40 pgsql: Allocate hash join files in a separate memory context
Previous Message Peter Eisentraut 2023-05-19 14:24:06 pgsql: Remove stray mid-sentence tabs in comments