On February 21, 2015 7:20:04 PM CET, Andrew Dunstan <and...@dunslane.net> wrote: > >On 02/21/2015 11:43 AM, Tom Lane wrote: > >> { >> oid => 2249, >> oiddefine => 'CSTRINGOID', >> typname => 'cstring', >> typlen => -2, >> typbyval => 1, >> ... >> } > > >which is pure perl syntax and wouldn't need any extra module, and has >the advantage over JSON that key names won't need to be quoted, making >it more readable.
Yea, my original post suggested using actual perl hashes to avoid problems with the availability of libraries. So far I've not really heard a convincing alternative. Peter's problem with formatting seems to be most easily solved by rewriting the file automatically... Andres -- Please excuse brevity and formatting - I am writing this on my mobile phone. Andres Freund 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