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.