Re: Hello (PGDATA question)

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: John <johntank(at)merr(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hello (PGDATA question)
Date: 2003-05-25 10:48:03
Message-ID: Pine.LNX.4.21.0305251136500.4741-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 18 May 2003, John wrote:

Whoa! Bet you thought this was lost! A full week within the pgsql servers.

> Hello,
>
> I am seeking some help with installing postgresql 2.7.3 on my
> SuSE linux 8.2 system. I am having trouble setting the PGDATA
> parameter.
>
> Thank-you,
>
> John Tankersley
> johntank(at)merr(dot)com

You should probably upgrade to 7.2.4, at least I think that one is the last 7.2
series. Or, as you're obviously not going to have any existing applications or
data to support why not go for the latest 7.3 series? 7.3.3 should be coming
out very soon.

Rather than worrying about using the PGDATA environment variable you can simply
specify the location of the data store on the command line when you start the
server [and initdb]. For example, initialise the data store with

initdb -D /data/pgsql ...

and similarly in your startup scripts (or just whenever you start/stop the
postmaster by hand)

pg_ctl -D /data/pgsql ...

--
Nigel J. Andrews

In response to

  • Hello at 2003-05-18 22:07:33 from John

Browse pgsql-general by date

  From Date Subject
Next Message listrec 2003-05-25 10:55:24 Re: Slashdot: SAP and MySQL Join Forces
Previous Message Holger Klawitter 2003-05-25 10:32:21 Re: latin1 -> unicode