Re: directory name equal database name

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: squid ward <squidw(at)mail(dot)ru>
Cc: pgsql-interfaces(at)lists(dot)postgresql(dot)org
Subject: Re: directory name equal database name
Date: 2020-02-04 11:15:36
Message-ID: CADK3HH+_UAspcbsCQpNb5YhfbSs+iQ=N3TP1mFoy+-r2kmp-Tg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Tue, 4 Feb 2020 at 06:01, squid ward <squidw(at)mail(dot)ru> wrote:

> Greetings.
> I am better know how work with Microsoft SQL Server, but i try learn
> postgresql too for my work.
> Question is why directory name not equal as database name? For example i
> create database named «test1» but in directory it will be something like
> 1564512 or whatever number is. Why directory name randomize as number, but
> not as text? Can i change it?
>

The name is not random it is the Oid of the database. You may not change it

Dave

>
>
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2020-02-04 16:20:15 Re: directory name equal database name
Previous Message squid ward 2020-02-04 11:01:12 directory name equal database name