8.2.0 upgrade issue: postmaster -S
8.2.0 upgrade issue: postmaster -S
От:
L Bayuk <lbayuk@pobox.com>
Дата:
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.
Re: 8.2.0 upgrade issue: postmaster -S
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
L Bayuk 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