Re: PgSQL postmaster.opts

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: MG <makgab(at)freemail(dot)hu>
Cc: PostgreSQL List <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PgSQL postmaster.opts
Date: 2002-03-29 23:04:14
Message-ID: 200203292304.g2TN4EN15739@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Richard Emberson 2002-03-30 00:46:31 Direct I/O and Linux 2.4
Previous Message MG 2002-03-29 20:26:07 PgSQL postmaster.opts