PGDATA

From: sasan3(at)gmail(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: PGDATA
Date: 2006-11-24 12:43:02
Message-ID: 1164372182.327669.246700@l39g2000cwd.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I just can't understand the use of this PGDATA variable!!!!!

-I am on FC3. (pgl 7.4)
-I am installing rpms and then running /etc/init.d/postgresql start
(which is done by default)
-The resulting "data" directory is in /var/lib/pgsql/data

I now want the "data" directory to be on
/home3/myreallylargepartition/pgsql/data
so:

-I login as postgres
-I change .bash_profile so that PGDATA points at the new directory
-I restart the server by doing a "/etc/init.d/postgresql restart"

Shouldn't any new tables I create be in the new area?!!!!!

Thanks.

Responses

  • Re: PGDATA at 2006-11-24 21:09:01 from Richard Broersma Jr
  • Re: PGDATA at 2006-11-27 15:47:01 from Jeffrey Webster

Browse pgsql-general by date

  From Date Subject
Next Message sasan3 2006-11-24 12:44:08 Carriage-Return in text field
Previous Message Teodor Sigaev 2006-11-24 12:27:17 Re: tsearch to spellcheck