| From: | AI Rumman <rummandba(at)gmail(dot)com> |
|---|---|
| To: | John R Pierce <pierce(at)hogranch(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: location for pg_default tablespace |
| Date: | 2010-01-12 05:40:07 |
| Message-ID: | 2a7905441001112140w36a2a888v220ad4bb65a84daf@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Thanks.
But actually I want to know that why the value in spclocation is null is
pg_tablespace for pg_default.
Moreover, $PGDATA/pg_tblspc has no file.
Could you please tell me why?
On Tue, Jan 12, 2010 at 11:26 AM, John R Pierce <pierce(at)hogranch(dot)com> wrote:
> 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
>
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Smith | 2010-01-12 05:50:11 | Re: location for pg_default tablespace |
| Previous Message | John R Pierce | 2010-01-12 05:26:19 | Re: location for pg_default tablespace |