From: Guido Barosio <gbarosio@gmail.com>
To: sandhya <sandhyar@amiindia.co.in>
Cc: postgre <pgsql-admin@postgresql.org>
Subject: Re: Reg:Database and Table information
Date: Thu, 15 Sep 2005 21:45:59 +0100
Message-ID: <f7f6b4c705091513452aa65062@mail.gmail.com> (raw)
In-Reply-To: <016401c5b8ec$f9c46ec0$cd00000a@amiindiahjwbgh>
References: <016401c5b8ec$f9c46ec0$cd00000a@amiindiahjwbgh>
Hi Sandhya,
Well, actually the man pages explain very well how to gather this kind of
information.
I strongly suggest you to reach http://www.postgresql.org where you will
find these details in a very comprehensive way.
Basically, you will find that there are views that will give you the
information that you need. Most of them start with the pg_* prefix. But as I
told you, I highly encourage you to get rid of that documentation. You will
find it extremely usefull.
If you do not understand those papers, contact me and I will kindly try to
sort out your doubts.
Best wishes,
Guido.
On 9/14/05, sandhya <sandhyar@amiindia.co.in> wrote:
>
> Hi,
> Is there any way to find out the information regarding the databases and
> tables?
> I mean,
> Details about database like ..the time of creation,User who created
> it,Last Accessed and the user...etc
> Similarly for the tables .
> Also is there any way to list out the tables created by a particular user
> or listing out all the tables.
> Pls help me in this..
> Thank you ,
> -Sandhya
>
--
"Adopting the position that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
performance, not more" - Tom Lane.
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: gbarosio@gmail.com, sandhyar@amiindia.co.in
Subject: Re: Reg:Database and Table information
In-Reply-To: <f7f6b4c705091513452aa65062@mail.gmail.com>
References: <016401c5b8ec$f9c46ec0$cd00000a@amiindiahjwbgh> <f7f6b4c705091513452aa65062@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