Re: [Q] When should I use reg* types instead of oid in the system catalog?

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Q] When should I use reg* types instead of oid in the system catalog?
Date: 2017-05-21 10:45:04
Message-ID: EA5C9CC79C134AAEA5041E2460B204F7@tunaPC
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: Tom Lane
It's probably mostly historical accident :-(. There have been
suggestions
before to convert more system catalog columns to regfoo types, but
there's
serious stumbling blocks in the way:

Thank you so much for concise detailed explanation of the history and
current situation. I understood that it would do more harm than good
to change existing plain oid columns to reg* types for various
clients, and it wouldn't very beneficial but also not so harmful to
make new catalogs/columns reg* types.

Regards
MauMau

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-05-21 14:12:20 Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.)
Previous Message Manuel Kniep 2017-05-21 09:28:38 Re: Allowing dash character in LTREE