Обсуждение: RELKIND_SPECIAL
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.
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
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.