Re: location for pg_default tablespace

From: John R Pierce <pierce(at)hogranch(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: location for pg_default tablespace
Date: 2010-01-12 05:26:19
Message-ID: 4B4C07FB.6040006@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

AI Rumman wrote:
> I am new at Postgresql. Previously I used to work with Oracle.
> I am surprised to see that the location for pg_default tablespace in
> my database for a Postgresql cluster is null.
> Could anyone please tell me what is the location of default tablespace
> in postgresql and how could I find it?

Its the $PGDATA directory. The location of this varies widely by
operating system and postgres distribution. For instance, the postgres
supplied with fedora and redhat linuxes tend to put this in
/var/lib/pgsql/data ... If you build postgres from source on a
unix-like system, using full defaults, its probably /usr/local/pgsql/data

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message AI Rumman 2010-01-12 05:40:07 Re: location for pg_default tablespace
Previous Message AI Rumman 2010-01-12 05:06:01 location for pg_default tablespace