Skip temporary table schema name from explain-verbose output. - Mailing list pgsql-hackers

From Amul Sul
Subject Skip temporary table schema name from explain-verbose output.
Date
Msg-id CAAJ_b97W=QaGmag9AhWNbmx3uEYsNkXWL+OVW1_E1D3BtgWvtw@mail.gmail.com
Whole thread Raw
Responses Re: Skip temporary table schema name from explain-verbose output.
List pgsql-hackers
Hi,

Temporary tables usually gets a unique schema name, see this:

postgres=# create temp table foo(i int);
CREATE TABLE
postgres=# explain verbose select * from foo;
                           QUERY PLAN
-----------------------------------------------------------------
 Seq Scan on pg_temp_3.foo  (cost=0.00..35.50 rows=2550 width=4)
   Output: i
(2 rows)

The problem is that explain-verbose regression test output becomes
unstable when several concurrently running tests operate on temporary
tables.

I was wondering can we simply skip the temporary schema name from the
explain-verbose output or place the "pg_temp" schema name?

Thoughts/Suggestions?

Regares,
Amul



pgsql-hackers by date:

Previous
From: "Joel Jacobson"
Date:
Subject: Re: [PATCH] Re: pg_identify_object_as_address() doesn't support pg_event_trigger oids
Next
From: vignesh C
Date:
Subject: Re: Replication slot stats misgivings