Re: Do we need use more meaningful variables to replace 0 in catalog head files?

From: Jan de Visser <jan(at)de-visser(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Hao Lee <mixtrue(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Do we need use more meaningful variables to replace 0 in catalog head files?
Date: 2016-11-10 23:51:37
Message-ID: ea4f3ac1-df98-247d-2666-eaba35f58d55@de-visser.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2016-11-09 10:47 AM, Tom Lane wrote:

> Amit Langote <amitlangote09(at)gmail(dot)com> writes:
>> On Wed, Nov 9, 2016 at 11:47 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Hmm, that's from 2009. I thought I remembered something much more recent,
>>> like last year or so.
>> This perhaps:
>> * Re: Bootstrap DATA is a pita *
>> https://www.postgresql.org/message-id/flat/CAOjayEfKBL-_Q9m3Jsv6V-mK1q8h%3Dca5Hm0fecXGxZUhPDN9BA%40mail.gmail.com
> Yeah, that's the thread I remembered. I think the basic conclusion was
> that we needed a Perl script that would suck up a bunch of data from some
> representation that's more edit-friendly than the DATA lines, expand
> symbolic representations (regprocedure etc) into numeric OIDs, and write
> out the .bki script from that. I thought some people had volunteered to
> work on that, but we've seen no results ...
>
> regards, tom lane
>
>

Would a python script converting something like json or yaml be
acceptable? I think right now only perl is used, so it would be a new
build chain tool, albeit one that's in my (very humble) opinion much
better suited to the task.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tsunakawa, Takayuki 2016-11-11 00:54:20 Re: Remove the comment on the countereffectiveness of large shared_buffers on Windows
Previous Message Tom Lane 2016-11-10 23:41:43 Re: Do we need use more meaningful variables to replace 0 in catalog head files?