pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPgSQL postmaster.opts
4+ messages / 3 participants
[nested] [flat]
* PgSQL postmaster.opts
@ 2002-03-29 20:26 MG <makgab@freemail.hu>
2002-03-29 23:04 ` Re: PgSQL postmaster.opts Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: MG @ 2002-03-29 20:26 UTC (permalink / raw)
To: pgsql-admin
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???!!
Bye!
-----------------
Linux RedHat 7.1
-----------------
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PgSQL postmaster.opts
2002-03-29 20:26 PgSQL postmaster.opts MG <makgab@freemail.hu>
@ 2002-03-29 23:04 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-03-30 09:16 ` Re: PgSQL postmaster.opts MG <makgab@freemail.hu>
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Momjian @ 2002-03-29 23:04 UTC (permalink / raw)
To: MG <makgab@freemail.hu>; +Cc: 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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PgSQL postmaster.opts
2002-03-29 20:26 PgSQL postmaster.opts MG <makgab@freemail.hu>
2002-03-29 23:04 ` Re: PgSQL postmaster.opts Bruce Momjian <pgman@candle.pha.pa.us>
@ 2002-03-30 09:16 ` MG <makgab@freemail.hu>
2002-03-30 13:05 ` Re: PgSQL postmaster.opts Nick Fankhauser <nickf@ontko.com>
0 siblings, 1 reply; 4+ messages in thread
From: MG @ 2002-03-30 09:16 UTC (permalink / raw)
To: pgsql-admin
On 29-Mar-2002 Bruce Momjian wrote:
>
> 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.
>
The "postgresql.conf" file doesn't exist in RedHat. :(
But "/var/lib/pgsql/data/pg_options" file exists. It contains:
verbose=2
query=2
syslog=0
Do I have to change the settings in this file?
Bye!
-----------------
Linux RedHat 7.1
-----------------
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: PgSQL postmaster.opts
2002-03-29 20:26 PgSQL postmaster.opts MG <makgab@freemail.hu>
2002-03-29 23:04 ` Re: PgSQL postmaster.opts Bruce Momjian <pgman@candle.pha.pa.us>
2002-03-30 09:16 ` Re: PgSQL postmaster.opts MG <makgab@freemail.hu>
@ 2002-03-30 13:05 ` Nick Fankhauser <nickf@ontko.com>
0 siblings, 0 replies; 4+ messages in thread
From: Nick Fankhauser @ 2002-03-30 13:05 UTC (permalink / raw)
To: MG <makgab@freemail.hu>; pgsql-admin
The version of postgresql you are running does not have the postgresql.conf
file. If you were on postresql 7.1 or 7.2, you would have them regardless of
your OS. For your version, you'll have to use the command-line switches.
Look here for information on them:
http://www.postgresql.org/idocs/index.php?runtime-config.html
You should also consider the upgrade to a newer version of postgresql- the
advantages are significant.
-NickF
--------------------------------------------------------------------------
Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of MG
> Sent: Saturday, March 30, 2002 4:17 AM
> To: PostgreSQL List
> Subject: Re: [ADMIN] PgSQL postmaster.opts
>
>
>
> On 29-Mar-2002 Bruce Momjian wrote:
> >
> > 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.
> >
>
> The "postgresql.conf" file doesn't exist in RedHat. :(
> But "/var/lib/pgsql/data/pg_options" file exists. It contains:
> verbose=2
> query=2
> syslog=0
>
> Do I have to change the settings in this file?
>
> Bye!
> -----------------
> Linux RedHat 7.1
> -----------------
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-03-30 13:05 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-29 20:26 PgSQL postmaster.opts MG <makgab@freemail.hu>
2002-03-29 23:04 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-03-30 09:16 ` MG <makgab@freemail.hu>
2002-03-30 13:05 ` Nick Fankhauser <nickf@ontko.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox