Re: initdb

From: John K Masters <johnmasters(at)oxtedonline(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: initdb
Date: 2007-06-19 18:14:13
Message-ID: 20070619181413.GA4299@spookie1.spookiegate
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10:06 Tue 19 Jun , Jeffrey Webster wrote:
> On 6/17/07, Andrej Ricnik-Bay <andrej(dot)groups(at)gmail(dot)com> wrote:
>
>
> Hm. Why not just edit your .bash_profile, or .bashrc? (I won't go into
> the details of which to use)
>
> Add:
> export PGDATA=/usr/local/pgsql/data
>
> Add the following the line that sets your path:
> :/usr/local/pgsql/bin
>
> It should now look something like:
>
> export PGDATA=/usr/local/pgsql/data
> export PATH=$PATH:$HOME/bin:/usr/local/pgsql/bin
>
> If you put it in .bashrc just use the following to set the variables:
> . ~/.bashrc
>
> Any new terminal you open will have those settings immediately.

Solved it in the end, thanks.

Debian puts the executables in /usr/lib/postgresql/8.1/bin/
Once I found that I was OK

Now busy trying to migrate a bodge of a spreadsheet to something usable

Regards, John
--
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)

In response to

  • Re: initdb at 2007-06-19 17:06:40 from Jeffrey Webster

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2007-06-19 18:41:37 Re: pg_restore out of memory
Previous Message Jeffrey Webster 2007-06-19 17:06:40 Re: initdb