FS#25209 - [postgresql] Support for additional command line options

Attached to Project: Arch Linux
Opened by Scott Smith (tracer) - Thursday, 21 July 2011, 23:45 GMT
Last edited by Dan McGee (toofishes) - Monday, 26 September 2011, 21:07 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When starting PostgreSQL by rc.d there is no clean way (such as using conf.d) to add additional options such as using a different port number in a way that will survive an update. Modifying the rc.d file would result in the changes being destroyed on update.


Additional info:
* postgresql-9.0.4-4


Steps to reproduce:
Start PostgreSQL on port 6543 using command ``/etc/rc.d/postgresql start``. Stop the server and upgrade PostgreSQL. Without modifying any files, run ``/etc/rc.d/postgresql start``.

Fix:
Modify the PG_CTL= line to include the variable PGOPTS which can be set in the conf.d file.
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 26 September 2011, 21:07 GMT
Reason for closing:  Implemented
Additional comments about closing:  9.1.1-1 soon to be in [testing]

Loading...