Re: Modify SHOW to display reloptions by accepting table-qualified names. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Modify SHOW to display reloptions by accepting table-qualified names.
Date
Msg-id 1004704.1742831936@sss.pgh.pa.us
Whole thread Raw
In response to Modify SHOW to display reloptions by accepting table-qualified names.  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> In discussing vacuum_truncate_set it occurs to me there is no SQL way for
> someone to easily view the current setting (or unset status) of a
> reloption.  Seems like we could modify SHOW to cover this use case.

That seems like a pretty awful idea; for starters, there is nothing
preventing overlap between the set of GUC names and the set of
table names.

Perhaps it is worth inventing bespoke syntax for this --- I doubt it,
but others might think differently --- but please let's not overload
SHOW.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pg_recvlogical requires -d but not described on the documentation
Next
From: Álvaro Herrera
Date:
Subject: Re: vacuum_truncate configuration parameter and isset_offset