From: Tom Lane <tgl@sss.pgh.pa.us>
To: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15605: Unstable regression test "tablespace"
Date: Wed, 23 Jan 2019 09:53:31 -0500
Message-ID: <26305.1548255211@sss.pgh.pa.us> (raw)
In-Reply-To: <15605-392cf14f9138d278@postgresql.org>
References: <15605-392cf14f9138d278@postgresql.org>
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> When running 'TESTS="$(printf "tablespace %.0s" `seq 1000`)" make
> check-tests' I get:
> ...
> It seems that the following query in src/test/regress/sql/tablespace.sql:
> SELECT relname, spcname FROM pg_catalog.pg_tablespace t, pg_catalog.pg_class c
> where c.reltablespace = t.oid AND c.relname LIKE 'part%_idx';
> needs an "ORDER BY".
I'm totally unexcited by this. Almost every script in our standard
regression suite is somewhat context-dependent, eg many of them depend
on tables or other objects created by previous scripts. Trying to make
them be robust when run standalone would be a huge and ultimately pretty
pointless exercise.
In the case of the tablespace script, it evidently has some dependency on
being run in a fresh database, but so what? It always will be, when used
as directed. (I do not recall the reason why we run it first, but
I remember that there was some good reason, possibly to do with crash
recovery.)
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, exclusion@gmail.com
Subject: Re: BUG #15605: Unstable regression test "tablespace"
In-Reply-To: <26305.1548255211@sss.pgh.pa.us>
References: <15605-392cf14f9138d278@postgresql.org> <26305.1548255211@sss.pgh.pa.us>
* 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