Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

Next:From: Oliver ElphickDate: 2003-09-10 10:20:35
Subject: Re:
Previous:From: Aarni RuuhimäkiDate: 2003-09-10 09:28:44
Subject: Re:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group