Re: autogenerating headers & bki stuff

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: autogenerating headers & bki stuff
Дата
Msg-id 20090727011954.GA10327@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: autogenerating headers & bki stuff  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane escribió:

> I experimented with that a little bit and found it doesn't seem to be
> tremendously easy.  A non-bootstrap-mode backend will PANIC immediately
> on startup if it doesn't find the critical system indexes, so the second
> step has issues.  Also, there is no provision for resuming bootstrap
> mode in an already-existing database, so the third step doesn't work
> either.

FWIW we hacked up a sort-of-bootstrap mode in Mammoth Replicator to be
able to create our own catalogs and stuff.  It's not particularly
hard nor large:

 bootstrap.c |   31 ++++++!!!!!!!!!!!!!!!!!!!!!!!!!
 1 file changed, 6 insertions(+), 25 modifications(!)


(This is BSD code so feel free to use it if you find it useful)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: autogenerating headers & bki stuff
Следующее
От: Robert Haas
Дата:
Сообщение: Re: generic explain options v3