Thread: $PGDATA problem

$PGDATA problem

From
"Christian Marschalek"
Date:
Should be selv explainable:

postgres@Server:/home/legshot > initdb
initdb: You must identify where the the data for this database
system will reside.  Do this with either a --pgdata invocation
option or a PGDATA environment variable.

postgres@Server:/home/legshot > echo $PGDATA
/mnt/hdb/usr/local/pgsql/data

---

PGDATA is set and still initdb claims about it?
Any help?

Tia and regrads Chris


Re: $PGDATA problem

From
Peter Eisentraut
Date:
Christian Marschalek writes:

> Should be selv explainable:
>
> postgres@Server:/home/legshot > initdb
> initdb: You must identify where the the data for this database
> system will reside.  Do this with either a --pgdata invocation
> option or a PGDATA environment variable.
>
> postgres@Server:/home/legshot > echo $PGDATA
> /mnt/hdb/usr/local/pgsql/data

export PGDATA

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


RE: $PGDATA problem

From
"Christian Marschalek"
Date:
Thx...worked :o)

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org] On Behalf Of
> Peter Eisentraut
> Sent: Wednesday, March 21, 2001 11:07 PM
> To: Christian Marschalek
> Cc: [GENERAL] PostgreSQL
> Subject: Re: [GENERAL] $PGDATA problem
>
>
> Christian Marschalek writes:
>
> > Should be selv explainable:
> >
> > postgres@Server:/home/legshot > initdb
> > initdb: You must identify where the the data for this
> database system
> > will reside.  Do this with either a --pgdata invocation option or a
> > PGDATA environment variable.
> >
> > postgres@Server:/home/legshot > echo $PGDATA
> > /mnt/hdb/usr/local/pgsql/data
>
> export PGDATA
>
> --
> Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
http://www.postgresql.org/users-lounge/docs/faq.html