Re: Idea: cross-check versions during initdb

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Idea: cross-check versions during initdb
Дата
Msg-id
Pine.LNX.4.21.0010272108070.838-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
Idea: cross-check versions during initdb Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea: cross-check versions during initdb Larry Rosenman <ler@lerctr.org>
Re: Idea: cross-check versions during initdb Peter Eisentraut <peter_e@gmx.net>
Re: Idea: cross-check versions during initdb Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea: cross-check versions during initdb] Bruce Momjian <pgman@candle.pha.pa.us>
Re: Idea: cross-check versions during initdb Peter Eisentraut <peter_e@gmx.net>
Re: Idea: cross-check versions during initdb Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea: cross-check versions during initdb Peter Eisentraut <peter_e@gmx.net>
Re: Idea: cross-check versions during initdb Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea: cross-check versions during initdb Peter Eisentraut <peter_e@gmx.net>
Re: Idea: cross-check versions during initdb Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea: cross-check versions during initdb Bruce Momjian <pgman@candle.pha.pa.us>
> > 1. Add a --version switch to postgres or postmaster to print its version
> > and exit.

postmaster already has this.  Someone can copy the code into
tcop/postgres.c as well.  But should we not use the catversion for this?

> > to a compatible library directory.  Alternatively, add version info as
> > a comment in the first line of global.bki.

I think that's better.

Bonus project:  find out why initdb is picking up the wrong files in the
first place.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-hackers по дате отправления
От: Lamar Owen
Дата:
От: Alex Pilosov
Дата:
FAQ