Re: Bootstrap DATA is a pita

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bootstrap DATA is a pita
Date: 2015-02-21 01:46:31
Message-ID: 54E7E377.7080300@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-02-21 03:19:54 Re: Bootstrap DATA is a pita
Previous Message Tomas Vondra 2015-02-21 01:06:34 Re: Abbreviated keys for Numeric