Hello,

     I had setup a pc with LM 8.0. I am trying to use postgresql in it.
When I try to connect to postmaster and create a new database, through
psql it works fine. But if I try to use pgaccess to create new database
it gives the following message.

    "Tcl error executing pg_exec create database
       backupdb

     is not a valid postgresql connection"

I have tried the trick of changing a line in /etc/rc.d/init.d/postgresql

    su -l postgres -c "/usr/bin/pg_ctl  -D $PGDATA -p /usr/bin/postmaster
    start >/dev/null 2>&1"
to 
    su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o 
    '-i' start >/dev/null 2>&1"

as suggested by David Joham

Still I am getting the same message.

Please can anybody help ?

Thanx

Mangesh.



Reply via email to