Re: t_self as system column - Mailing list pgsql-hackers

From Robert Haas
Subject Re: t_self as system column
Date
Msg-id AANLkTik9mPTnAHa1L-ZALT4IWkqUV6fGMxDerDlxUN0A@mail.gmail.com
Whole thread Raw
In response to Re: t_self as system column  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: t_self as system column
List pgsql-hackers
On Mon, Jul 5, 2010 at 2:08 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> Is there a reason we don't have t_self as one of the system columns that
>> you can examine from SQL?  I'd propose its addition otherwise.
>
> pg_attribute bloat?  I'm a bit hesitant to add a row per table for
> something we've gotten along without for so long, especially something
> with as bizarre a definition as "t_self" has got.
>
> At one time I was hoping to get rid of explicit entries in pg_attribute
> for system columns, which would negate this concern.  I think we're
> stuck with them now, though, because of per-column permissions.

Because someone might want to grant per-column permissions on those
columns?  That seems like an awfully thin reason to keep all that
bloat around.  I bet the number of people who have granted per-column
permissions on, say, cmax can be counted on one hand - possibly with
five fingers left over.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: logistics for beta3
Next
From: Tom Lane
Date:
Subject: Re: t_self as system column