Re: Bootstrap DATA is a pita - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Bootstrap DATA is a pita
Date
Msg-id 54E7E377.7080300@agliodbs.com
Whole thread Raw
In response to Bootstrap DATA is a pita  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Bootstrap DATA is a pita
List pgsql-hackers
On 02/20/2015 03:41 PM, Andres Freund wrote:
> What I think we should do is to add pg_<catalog>.data files that contain
> the actual data that are automatically parsed by Catalog.pm. Those
> contain the rows in some to-be-decided format. I was considering using
> json, but it turns out only perl 5.14 started shipping JSON::PP as part
> of the standard library. So I guess it's best we just make it a big perl
> array + hashes.

What about YAML?  That might have been added somewhat earlier.

Or what about just doing CSV?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Abbreviated keys for Numeric
Next
From: Peter Eisentraut
Date:
Subject: Re: Bootstrap DATA is a pita