8.2.0 upgrade issue: postmaster -S

Lists: pgsql-admin
From: L Bayuk <lbayuk(at)pobox(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: 8.2.0 upgrade issue: postmaster -S
Date: 2006-12-28 00:43:28
Message-ID: 20061228004328.GA364@mail.mindspring.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org, L Bayuk <lbayuk(at)pobox(dot)com>
Subject: Re: 8.2.0 upgrade issue: postmaster -S
Date: 2006-12-28 01:34:08
Message-ID: 28309.1167269648@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

L Bayuk <lbayuk(at)pobox(dot)com> writes:
> 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).

Hmmm ... Peter, is this a documentation error or a code error? I can't
remember which options we agreed should get the single-letter switches.

regards, tom lane