pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
8.2.0 upgrade issue: postmaster -S
2+ messages / 2 participants
[nested] [flat]

* 8.2.0 upgrade issue: postmaster -S
@ 2006-12-28 00:43 L Bayuk <lbayuk@pobox.com>
  2006-12-28 01:34 ` Re: 8.2.0 upgrade issue: postmaster -S Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: L Bayuk @ 2006-12-28 00:43 UTC (permalink / raw)
  To: 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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 8.2.0 upgrade issue: postmaster -S
  2006-12-28 00:43 8.2.0 upgrade issue: postmaster -S L Bayuk <lbayuk@pobox.com>
@ 2006-12-28 01:34 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2006-12-28 01:34 UTC (permalink / raw)
  To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-admin@postgresql.org, L Bayuk <lbayuk@pobox.com>

L Bayuk <lbayuk@pobox.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-12-28 01:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-12-28 00:43 8.2.0 upgrade issue: postmaster -S L Bayuk <lbayuk@pobox.com>
2006-12-28 01:34 ` Tom Lane <tgl@sss.pgh.pa.us>

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