Re: [GENERAL] database folder name and tables filenames

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] database folder name and tables filenames
Дата
Msg-id 22292.1487100229@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] database folder name and tables filenames  (Mimiko <vbvbrj@gmail.com>)
Список pgsql-general
Mimiko <vbvbrj@gmail.com> writes:
> On 14.02.2017 17:30, Adrian Klaver wrote:
>> Is there a particular problem you are trying to solve?

> No, there is not a problem. Its a convenience to visually view databases and tables with theirs name and know what
thesize they occupy with using  
> queries of pg_catalog, like there is in mysql.

Don't really see why you need the underlying files to be named differently
for that purpose.  Typically people write something like
    select relname, pg_relation_size(oid) from pg_class where ...

If you really want to do it from outside the database, the
contrib/oid2name program might help you.

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Shawn Thomas
Дата:
Сообщение: [GENERAL] Can't restart Postgres
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [GENERAL] Can't restart Postgres