Thread: RELKIND_SPECIAL

RELKIND_SPECIAL

From
Alvaro Herrera
Date:
How about we remove RELKIND_SPECIAL?  It was there only to support
the XactLockTable hack, but we don't need that anymore.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


Re: RELKIND_SPECIAL

From
Tom Lane
Date:
Alvaro Herrera <alvherre@commandprompt.com> writes:
> How about we remove RELKIND_SPECIAL?  It was there only to support
> the XactLockTable hack, but we don't need that anymore.

Go for it.  Don't forget to remove the documentation mentions
(catalog.sgml at least).  Might be a good idea to leave the code
for the case in psql/describe.c, though, just so psql doesn't choke
if run on an old database?
        regards, tom lane


Re: RELKIND_SPECIAL

From
Alvaro Herrera
Date:
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > How about we remove RELKIND_SPECIAL?  It was there only to support
> > the XactLockTable hack, but we don't need that anymore.
> 
> Go for it.  Don't forget to remove the documentation mentions
> (catalog.sgml at least).  Might be a good idea to leave the code
> for the case in psql/describe.c, though, just so psql doesn't choke
> if run on an old database?

Done.  I didn't find any other mentions in the documentation; I grepped
for "special" and "relkind".

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.