8.2.0 upgrade issue: postmaster -S

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux