Re: Postgres: Packaging & Server Startup - Mailing list pgsql-general

From CM J
Subject Re: Postgres: Packaging & Server Startup
Date
Msg-id d65fd1a40904010715k79908cfcyc4a0b8f553768144@mail.gmail.com
Whole thread Raw
In response to Re: Postgres: Packaging & Server Startup  (Raymond O'Donnell <rod@iol.ie>)
List pgsql-general
Hi,

       I did not run the initdb.exe and thats why i could not start the server.Here is what i did:

1. Executed initdb.exe as follows:

runas /user:postgres "D:\pgsql\bin\initdb.exe -D:\pgsql\data"

2.Started the server by executing the following cmd:

runas /user:postgres "D:\pgsql\bin\pg_ctl.exe   -w start -D D:\pgsql\data"

and it started fine.Thanks  to Richard and Ray !

On Tue, Mar 31, 2009 at 6:13 PM, Raymond O'Donnell <rod@iol.ie> wrote:
On 31/03/2009 12:14, CM J wrote:

> D:\pgsql\bin\pg_ctl.exe -U postgres -P <mypasswd>  -w start -D D:\pgsql\data

I wonder if that -P is causing trouble? According to the output of
--help, there's no -P option with a START operation; however, -p is used
to specify the path to the postgres binaries.

Just a stab in the dark.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: string_to_array with empty input
Next
From: Laurent Rahuel
Date:
Subject: Statement trigger on delete object OID