Re: pgsql-novice-request@postgresql.org - Mailing list pgsql-novice

From Seneca Cunningham
Subject Re: pgsql-novice-request@postgresql.org
Date
Msg-id 43F4D1D3.60604@ca.afilias.info
Whole thread Raw
In response to Re: pgsql-novice-request@postgresql.org  (Nils Zierath <nils.zierath@web.de>)
List pgsql-novice
Nils Zierath wrote:
> is there a way that I can enter commands (i.e. psql) directly from my
> user´s home directory or do I always have to go into ".../pgsql/bin"?

You can change your $PATH.

> The PostgreSQL users guide I am using tells me that I have to change the
> search path in "/etc/profile" - but I've got no idea what add into the
> script.

The lines suggested by the documentation would work as they appear, if
you installed into the default location.

PATH=/usr/local/pgsql/bin:$PATH
export PATH

--
Seneca Cunningham
scunning@ca.afilias.info

pgsql-novice by date:

Previous
From: Nils Zierath
Date:
Subject: Re: pgsql-novice-request@postgresql.org
Next
From: "A. Kretschmer"
Date:
Subject: Re: pgsql-novice-request@postgresql.org