Re: storage

From: "Rajesh Kumar Mallah" <mallah(dot)rajesh(at)gmail(dot)com>
To: "Antonios Katsikadamos" <antonioskatsikadamos(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: storage
Date: 2006-12-13 17:20:27
Message-ID: a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 12/13/06, Antonios Katsikadamos <antonioskatsikadamos(at)yahoo(dot)com> wrote:
> Hi all,
>
> Sorry to bother. I would like to know where postgres stores the created
> database and the tables.Can anyone help,

which OS or distribution is it?

look into the startup script that starts postgresql service.
The path is configurable depends on the package mantainer.
in redhat it used to be /var/lib/data.

if you can connect to the database as superuser you can give the command

psql# SHOW data_directory;

in recent versions of postgresql.

>
>
> thnx for any help,
>
> Antonios
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

In response to

  • storage at 2006-12-13 17:10:33 from Antonios Katsikadamos

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2006-12-13 23:49:07 Re: Should duplicate indexes on same column and same
Previous Message Shoaib Mir 2006-12-13 17:17:34 Re: storage