pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Antonios Katsikadamos <antonioskatsikadamos@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: storage
Date: Wed, 13 Dec 2006 22:50:27 +0530
Message-ID: <a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com> (raw)
In-Reply-To: <20061213171033.38055.qmail@web59202.mail.re1.yahoo.com>
References: <20061213171033.38055.qmail@web59202.mail.re1.yahoo.com>

On 12/13/06, Antonios Katsikadamos <antonioskatsikadamos@yahoo.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
>



view thread (4+ messages)

Message-ID: <a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com>
Permalink:  ../a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com/
Also on:    postgresql.org/message-id/a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah.rajesh@gmail.com, antonioskatsikadamos@yahoo.com
  Subject: Re: storage
  In-Reply-To: <a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com>
  References: <20061213171033.38055.qmail@web59202.mail.re1.yahoo.com> <a97c77030612130920m97dd2d7w8d1bdd536a03cd3@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox