Which files belong to which database?

From: Oliver Fromme <olli(at)lurza(dot)secnetix(dot)de>
To: pgsql-novice(at)postgresql(dot)org
Subject: Which files belong to which database?
Date: 2003-09-10 10:13:44
Message-ID: 200309101013.h8AADiWu078632@lurza.secnetix.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Hi,

Is there a way to find out which files in $PGDATA belong
to which database? I need that information for accounting
purposes (users are billed per Gbyte of data). In mysql
it is very easy, because the subdirectories have the same
names as the databases.

Thanks in advance!

Regards
Oliver

--
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"C++ is to C as Lung Cancer is to Lung."
-- Thomas Funke

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2003-09-10 10:20:35 Re:
Previous Message Aarni Ruuhimäki 2003-09-10 09:28:44 Re: