Re: Bootstrap DATA is a pita

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Bootstrap DATA is a pita
Дата
Msg-id 54E7E377.7080300@agliodbs.com
обсуждение исходный текст
Ответ на Bootstrap DATA is a pita  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Bootstrap DATA is a pita  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Abbreviated keys for Numeric
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Bootstrap DATA is a pita