Thread: Environment Variables

Environment Variables

From
Keith Gray
Date:
Is it suitable to put...

PGDATA=\var\lib\postgres

... in .bashrc


to setup for postmaster?


--
Keith Gray

Technical Development Manager
Heart Consulting Services P/L
mailto:keith@heart.com.au

Re: Environment Variables

From
s0lao@netscape.net (S. L.)
Date:
Keith Gray <keith@heart.com.au> wrote:

>Is it suitable to put...
>
>PGDATA=\var\lib\postgres
>

Sure, but it's worthless :)) Try, better, /var/lib/postgres, also a PGLIB=/usr/local/pgsql/lib and
PATH=$PATH:/usr/local/pgsql/bin(replace the /usr/local/pgsql with your path to where postgres is installed) 

>... in .bashrc
>
>
>to setup for postmaster?
>
>
>--
>Keith Gray
>
>Technical Development Manager
>Heart Consulting Services P/L
>mailto:keith@heart.com.au
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
>

SLao


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with
Shop@Netscape!http://shopnow.netscape.com/ 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


Re: Environment Variables

From
Dave Page
Date:
I find that PGHOST=localhost is useful too.

Regards, Dave.

> -----Original Message-----
> From: s0lao@netscape.net [mailto:s0lao@netscape.net]
> Sent: 02 October 2001 13:34
> To: keith@heart.com.au; pgsql-cygwin@postgresql.org
> Subject: Re: [CYGWIN] Environment Variables
>
>
> Keith Gray <keith@heart.com.au> wrote:
>
> >Is it suitable to put...
> >
> >PGDATA=\var\lib\postgres
> >
>
> Sure, but it's worthless :)) Try, better, /var/lib/postgres,
> also a PGLIB=/usr/local/pgsql/lib and
> PATH=$PATH:/usr/local/pgsql/bin (replace the /usr/local/pgsql
> with your path to where postgres is installed)
>
> >... in .bashrc
> >
> >
> >to setup for postmaster?
> >
> >
> >--
> >Keith Gray
> >
> >Technical Development Manager
> >Heart Consulting Services P/L
> >mailto:keith@heart.com.au
> >
> >---------------------------(end of
> >broadcast)---------------------------
> >TIP 6: Have you searched our list archives?
> >
> >http://archives.postgresql.org
> >
>
> SLao
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift
> ideas. Experience the convenience of buying online with
> Shop@Netscape! http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)