From: | Petr Jelinek <petr(at)2ndquadrant(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net>, 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:26:56 |
Message-ID: | 54E7FB00.2090702@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 21/02/15 04:22, Peter Eisentraut wrote:
> 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.
>
+1 for the idea and +1 for YAML(-like) syntax.
--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2015-02-21 05:18:17 | Re: Abbreviated keys for Numeric |
Previous Message | Peter Eisentraut | 2015-02-21 03:22:57 | Re: Bootstrap DATA is a pita |