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


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to