Re: Moving the data directory - Mailing list pgsql-admin

From Scott Mead
Subject Re: Moving the data directory
Date
Msg-id AANLkTinrVBd0e6f6Q4HFg2BH5WjsHoB4YB1LjW2Rbfke@mail.gmail.com
Whole thread Raw
In response to Re: Moving the data directory  (Sairam Krishnamurthy <kmsram420@gmail.com>)
Responses Re: Moving the data directory  (Sairam Krishnamurthy <kmsram420@gmail.com>)
List pgsql-admin


On Tue, Feb 15, 2011 at 5:32 PM, Sairam Krishnamurthy <kmsram420@gmail.com> wrote:
Scott,

I get this error.

server starting
krishnam@nipa-umh:/media/extension/var/lib$ postgres: invalid argument: "config_file=/etc/postgresql/8.4/main/postgresql.conf"

tried with both -o and -c arguments.

My mistake, I screwed up!

/usr/lib/postgresql/8.4/bin/pg_ctl start -D /media/extension/var/lib/postgresql/8.4/main/ -o "-c config_file="/etc/postgresql/8.4/main/postgresql.conf"

 (-c inside the quotes)

--Scott

Thanks,
Sairam Krishnamurthy
+1 612 859 8161

On 02/15/2011 04:27 PM, Scott Mead wrote:
/usr/lib/postgresql/8.4/bin/pg_ctl start -D /media/extension/var/lib/postgresql/8.4/main/ -o config_file="/etc/postgresql/8.4/main/postgresql.conf

pgsql-admin by date:

Previous
From: Sairam Krishnamurthy
Date:
Subject: Re: Moving the data directory
Next
From: Sairam Krishnamurthy
Date:
Subject: Re: Moving the data directory