Re: Bootstrap DATA is a pita

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Bootstrap DATA is a pita
Дата
Msg-id 54F7114D.3020400@gmx.net
обсуждение исходный текст
Ответ на Re: Bootstrap DATA is a pita  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Bootstrap DATA is a pita  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Bootstrap DATA is a pita  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 3/3/15 9:49 PM, Robert Haas wrote:
>> Yeah.  One thought though is that I don't think we need the "data" layer
>> in your proposal; that is, I'd flatten the representation to something
>> more like
>>
>>      {
>>          oid => 2249,
>>          oiddefine => 'CSTRINGOID',
>>          typname => 'cstring',
>>          typlen => -2,
>>          typbyval => 1,
>>          ...
>>      }
> 
> Even this promises to vastly increase the number of lines in the file,

I think lines are cheap.  Columns are much harder to deal with.

> and make it harder to compare entries by grepping out some common
> substring.

Could you give an example of the sort of thing you wish to do?




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: POLA violation with \c service=
Следующее
От: Greg Stark
Дата:
Сообщение: Re: NULL-pointer check and incorrect comment for pstate in addRangeTableEntry