Re: Datafiles for Databases

From: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>
To: Kumar <sgnerd(at)yahoo(dot)com(dot)sg>
Cc: psql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Datafiles for Databases
Date: 2003-09-19 07:53:39
Message-ID: Pine.LNX.4.44.0309191317380.2565-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Will the postgres create individual data file for databases?

Yes.

> How to get the datafile path of a database?

/var/lib/pgsql/data/base/, database directory name = pg_database.oid. You
can also use oid2name contrib module for finer detail.

regards,
bhuvaneswaran

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message ries 2003-09-19 08:02:32 Re: is this explain good or bad???
Previous Message A.Bhuvaneswaran 2003-09-19 07:47:33 Re: Automated Backup