pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: how to recognise databses
3+ messages / 3 participants
[nested] [flat]

* Re: how to recognise databses
@ 2003-10-20 07:37  Mailing List <list@1006.org>
  parent: Ashok Chauhan <ashok@kalculate.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Mailing List @ 2003-10-20 07:37 UTC (permalink / raw)
  To: Ashok Chauhan <ashok@kalculate.com>; +Cc: pgsql-admin


> we have made 4 databases in postgresql, now we want to know how can be
> recognize these database files in /var/lib/pgsql/data/base.

Execute this query:

  select datname, datid from pg_stat_database;

Bye, Chris.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* how to recognise databses
@ 2003-10-20 07:38  Ashok Chauhan <ashok@kalculate.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Ashok Chauhan @ 2003-10-20 07:38 UTC (permalink / raw)
  To: pgsql-admin


we have made 4 databases in postgresql, now we want to know how can be
recognize these database files in /var/lib/pgsql/data/base.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: how to recognise databses
@ 2003-10-20 08:32  Thierry Missimilly <THIERRY.MISSIMILLY@BULL.NET>
  parent: Ashok Chauhan <ashok@kalculate.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Thierry Missimilly @ 2003-10-20 08:32 UTC (permalink / raw)
  To: Ashok Chauhan <ashok@kalculate.com>; +Cc: pgsql-admin

One good and very usefull script for that is oid2name .
You can find it in contrib/oid2name

Thierry Missimilly


Ashok Chauhan wrote:

> we have made 4 databases in postgresql, now we want to know how can be
> recognize these database files in /var/lib/pgsql/data/base.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html

Attachments:

THIERRY.MISSIMILLY.vcf (text/x-vcard, 326B) download begin:vcard n:Missimilly;Thierry tel;fax:+33 (0)4 76 29 78 78 tel;work:+33 (0)4 76 29 74 54 x-mozilla-html:FALSE url:http:\\www.bull.com org:BIS/R&D adr:;;Bull SA, 1, rue de provence - BP 208;ECHIROLLES;;38432;FRANCE version:2.1 email;internet:Thierry.Missimilly@bull.net x-mozilla-cpt:;-18184 fn:Thierry Missimilly end:vcard
^ permalink raw reply [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-10-20 08:32 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20 07:38 how to recognise databses Ashok Chauhan <ashok@kalculate.com>
2003-10-20 07:37 ` Mailing List <list@1006.org>
2003-10-20 08:32 ` Thierry Missimilly <THIERRY.MISSIMILLY@BULL.NET>

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