Re: Skip temporary table schema name from explain-verbose output.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Amul Sul <sulamul(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Skip temporary table schema name from explain-verbose output.
Date: 2021-04-28 14:26:07
Message-ID: 2796954.1619619967@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark <stark(at)mit(dot)edu> writes:
>> On Tue, Apr 27, 2021 at 7:08 PM Bharath Rupireddy
>> <bharath(dot)rupireddyforpostgres(at)gmail
>> Make sense, we would lose the ability to differentiate temporary
>> tables from the auto_explain logs.

> There's no useful differentiation that can be done with the temp
> schema name.

Agreed.

> I would say it makes sense to remove them -- except perhaps it makes
> it harder to parse explain output.

I don't think we should remove them. However, it could make sense to
print the "pg_temp" alias instead of the real schema name when we
are talking about myTempNamespace. Basically try to make that alias
a bit less leaky.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-04-28 14:30:27 Re: pg_hba.conf.sample wording improvement
Previous Message Amit Langote 2021-04-28 14:21:04 Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY