Re: Why Hard-Coded Version 9.1 In Names?

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: Why Hard-Coded Version 9.1 In Names?
Дата
Msg-id CABRT9RBUszrv7t64yMiz9dpX5t+UPrVy5d00=Xk-nFY5KQ8b_Q@mail.gmail.com
обсуждение исходный текст
Ответ на Why Hard-Coded Version 9.1 In Names?  (Jerry Richards <jerry.richards@teotech.com>)
Ответы Re: Why Hard-Coded Version 9.1 In Names?  (Bobby Dewitt <Bdewitt@appriss.com>)
Список pgsql-general
On Tue, Jan 31, 2012 at 00:41, Jerry Richards
<jerry.richards@teotech.com> wrote:
> I just installed postgreSQL 9.1 and noticed it hard-codes the folder
> /var/lib/pgsql/9.1 and it hard-codes the service name to be postgresql91.

> Why is the hard-coded version included in the naming?

Note that this is done by Linux distributions, vanilla PostgreSQL
doesn't use version-specific paths.

The reason is that the PostgreSQL on-disk format is not
forward-compatible. In order to upgrade from one Postgres version to
the next, you need to have *both* versions installed at once. As
annoying as it is, version-specific paths is a pretty foolproof way to
enable that.

Regards,
Marti

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

Предыдущее
От: durumdara
Дата:
Сообщение: Extending Session / Logged User info
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Extending Session / Logged User info