BUG #8098: Bad option -I in contrib/start-scripts/linux

From: catherine(dot)devlin(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8098: Bad option -I in contrib/start-scripts/linux
Date: 2013-04-19 12:09:21
Message-ID: E1UTA81-0005u5-I7@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 8098
Logged by: Catherine Devlin
Email address: catherine(dot)devlin(at)gmail(dot)com
PostgreSQL version: 9.2.4
Operating system: Ubuntu 12.10
Description:

Actually, bug is in 9.3devel from the git repo, but that's not an option in
your dropdown.

root(at)illyan:/etc/init.d# cp
/home/catherine/sw/postgresql/contrib/start-scripts/linux postgresql
root(at)illyan:/etc/init.d# chmod +x postgresql
root(at)illyan:/etc/init.d# ./postgresql start
Starting PostgreSQL: ok
root(at)illyan:/etc/init.d# ./postgresql status
pg_ctl: no server running
root(at)illyan:/etc/init.d# cat /usr/local/pgsql/data/serverlog
/usr/local/pgsql/bin/postmaster: invalid option -- 'I'
Try "postmaster --help" for more information.

Removing -I from line 87 corrects the bug.

87c87
< su - $PGUSER -c "$DAEMON -D '$PGDATA' &" >>$PGLOG 2>&1
---
> su - $PGUSER -c "$DAEMON -I -D '$PGDATA' &" >>$PGLOG 2>&1

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-04-19 14:16:42 Re: BUG #8093: After starting postgres, any attempt to connect generate a core dump and unable to login
Previous Message wouter.boasson 2013-04-19 11:01:04 BUG #8097: pg_dump incomplete data output