Re: PgSQL postmaster.opts

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PgSQL postmaster.opts
Дата
Msg-id 200203292304.g2TN4EN15739@candle.pha.pa.us
обсуждение исходный текст
Ответ на PgSQL postmaster.opts  (MG <makgab@freemail.hu>)
Ответы Re: PgSQL postmaster.opts  (MG <makgab@freemail.hu>)
Список pgsql-admin
MG wrote:
>
> Hi!
>
> I subsrcibed to this list again. :)
> I use the version7.0.3-8 of pgsql from RedHat rpm.
> I have a problem. The "/var/lib/pgsql/data/postmaster.opts" file contains this:
>
> /usr/bin/postmaster
> -p 5432
> -D /var/lib/pgsql/data
> -B 64
> -b /usr/bin/postgres
> -i
> -N 32
>
> If I modify it (for examlpes, -N 16 ) then the postgres restore the previous
> file after the server restarting.
> Why???!!
>

That file is not for user changes. It gets written on every postmaster
restart.  Either change these in postgresql.conf or on the command line.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: MG
Дата:
Сообщение: PgSQL postmaster.opts
Следующее
От: Richard Emberson
Дата:
Сообщение: Direct I/O and Linux 2.4