Re: Do we need use more meaningful variables to replace 0 in catalog head files? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Do we need use more meaningful variables to replace 0 in catalog head files?
Date
Msg-id 4317.1478702867@sss.pgh.pa.us
Whole thread Raw
In response to Re: Do we need use more meaningful variables to replace 0 in catalog head files?  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Do we need use more meaningful variables to replace 0 in catalog head files?
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> On Wed, Nov 9, 2016 at 1:44 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I don't think we need "named constants", especially not
>> manually-maintained ones.  The thing that would help in pg_proc.h is for
>> numeric type OIDs to be replaced by type names.  We talked awhile back
>> about introducing some sort of preprocessing step that would allow doing
>> that --- ie, it would look into some precursor file for pg_type.h and
>> extract the appropriate OID automatically.  I'm too tired to go find the
>> thread right now, but it was mostly about building the long-DATA-lines
>> representation from something easier to edit.

> You mean that I guess:
> https://www.postgresql.org/message-id/4d191a530911041228v621286a7q6a98d9ab8a2ed734@mail.gmail.com

Hmm, that's from 2009.  I thought I remembered something much more recent,
like last year or so.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Kuntal Ghosh
Date:
Subject: Re: WAL consistency check facility
Next
From: Mithun Cy
Date:
Subject: Re: Patch: Implement failover on libpq connect level.