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: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

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!


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


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-2017 The PostgreSQL Global Development Group