Re: [GENERAL] database folder name and tables filenames - Mailing list pgsql-general

From Mimiko
Subject Re: [GENERAL] database folder name and tables filenames
Date
Msg-id 7baf68a2-192a-0987-7323-4811ebedc69e@gmail.com
Whole thread Raw
In response to Re: [GENERAL] database folder name and tables filenames  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: [GENERAL] database folder name and tables filenames  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [GENERAL] database folder name and tables filenames  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [GENERAL] database folder name and tables filenames  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On 14.02.2017 17:30, Adrian Klaver wrote:
>> Is there a way to change postgres behavior to name database folders by
>> the database name? And table files in them by table's name? And not
>> using OIDs.
>
> No.
>
> 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 the
sizethey occupy with using  
queries of pg_catalog, like there is in mysql.


On 14.02.2017 17:34, Tom Lane wrote:
 > It used to work like that, decades ago, and it caused enormous problems
 > during table/database renames.  We're not going back.

So this is the culprit. Isn't there any option to use names? Even when compiling?


--
Mimiko desu.


pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] PostgreSQL corruption
Next
From: Alessandro Baggi
Date:
Subject: [GENERAL] postgresql how to duplicate rows in result.