This code will only work for pre 9.x PostgreSQL:
>From /usr/bin/spacewalk-setup-postgresql
...

PG_DATA=/var/lib/pgsql/data
PG_HBA="$PG_DATA/pg_hba.conf"
PG_IDENT="$PG_DATA/pg_ident.conf"
POSTGRESQL="$PG_DATA/postgresql.conf"
POSTGRESQL_SW_APPEND=/usr/share/spacewalk/setup/postgresql.conf
PORT=5432
PG_PIDFILE="/var/run/postmaster.$PORT.pid"
if isSUSE ; then
    PG_PIDFILE="$PG_DATA/postmaster.pid"

Can someone please fix this program to CHECK for the version of pgsql on the 
server and select the correct directory accordingly???
I'm going to just hard code it for now to get through my upgrade.


Robert Boyd
Sr. Systems Engineer
PeopleFluent
p. 919-645-2972 | c. 919-306-4681
e. robert.b...@peoplefluent.com<mailto:robert.b...@peoplefluent.com>

[http://mktg.peoplefluent.com/rs/peopleclick/images/140410_PF4colorLOGOx150.png]<http://www.peoplefluent.com/>
Click here<http://www.peoplefluent.com/> to experience the power of the new 
PeopleFluent Mirror Suite (tm)
Visit: www.peoplefluent.com<http://www.peoplefluent.com/> | Read: PeopleFluent 
Blog<http://peoplefluent.com/resources/peoplefluent-blog> | Follow: 
@PeopleFluent<http://twitter.com/peoplefluent>

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to