BUG #8098: Bad option -I in contrib/start-scripts/linux - Mailing list pgsql-bugs

From catherine.devlin@gmail.com
Subject BUG #8098: Bad option -I in contrib/start-scripts/linux
Date
Msg-id E1UTA81-0005u5-I7@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #8098: Bad option -I in contrib/start-scripts/linux  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8098
Logged by:          Catherine Devlin
Email address:      catherine.devlin@gmail.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@illyan:/etc/init.d# cp
/home/catherine/sw/postgresql/contrib/start-scripts/linux postgresql
root@illyan:/etc/init.d# chmod +x postgresql
root@illyan:/etc/init.d# ./postgresql start
Starting PostgreSQL: ok
root@illyan:/etc/init.d# ./postgresql status
pg_ctl: no server running
root@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

pgsql-bugs by date:

Previous
From: wouter.boasson@rivm.nl
Date:
Subject: BUG #8097: pg_dump incomplete data output
Next
From: Tom Lane
Date:
Subject: Re: BUG #8093: After starting postgres, any attempt to connect generate a core dump and unable to login