Re: Bootstrap DATA is a pita

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bootstrap DATA is a pita
Date: 2015-02-21 03:22:57
Message-ID: 54E7FA11.70108@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I violently support this proposal.

> Maybe something rougly like:
>
> # pg_type.data
> CatalogData(
> 'pg_type',
> [
> {
> oid => 2249,
> data => {typname => 'cstring', typlen => -2, typbyval => 1, fake => '...'},
> oiddefine => 'CSTRINGOID'
> }
> ]
> );

One concern I have with this is that in my experience different tools
and editors have vastly different ideas on how to format these kinds of
nested structures. I'd try out YAML, or even a homemade fake YAML over
this.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2015-02-21 03:26:56 Re: Bootstrap DATA is a pita
Previous Message Peter Eisentraut 2015-02-21 03:19:54 Re: Bootstrap DATA is a pita