8.2.0 upgrade issue: postmaster -S

Поиск
Список
Период
Сортировка
От L Bayuk
Тема 8.2.0 upgrade issue: postmaster -S
Дата
Msg-id 20061228004328.GA364@mail.mindspring.com
обсуждение исходный текст
Ответы Re: 8.2.0 upgrade issue: postmaster -S  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Something to watch out for when upgrading to 8.2.0:

My server start command for 8.1.5 and many prior releases:
  $  postmaster -D /opt/postgres/data -S -i

Try it at 8.2.0:
  $  postmaster -D /opt/postgres/data -S -i
  FATAL:  parameter "work_mem" requires an integer value

Reason: 'postmaster' and 'postgres' merged into one command.
postmaster -S used to mean: silent mode. Now it means: Set
memory used for sorting. Unfortunately, the reference manual still
documents the old meaning for -S (PostgreSQL Server Applications, postgres
command, -S option). Actually it switched. At 8.1.5 the manual said
"postgres -S" meant set sort memory, and "postmaster -S" meant silent.
At 8.2.0 "postmaster" is a "deprecated alias of postgres", and "postgres -S"
is now documented as silent mode. But it isn't.

Yes, I know, I should have switched to using "pg_ctl start" before now.

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Dump and Query
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.2.0 upgrade issue: loss of CONNECT rights