pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Orhan Punar <exaltedsoft@gmail.com>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18078: createdb not working
Date: Thu, 31 Aug 2023 15:59:23 -0400
Message-ID: <1442dafa-8c91-fa6d-8721-78349c4e6bcb@dunslane.net> (raw)
In-Reply-To: <CAPfUbHJd56s7uD4Cv5+Xi_vFg4=sY-4NqqiikZTtL+AR-eStVw@mail.gmail.com>
References: <18078-462b59fa711af3b4@postgresql.org>
	<CAMkU=1x02PqDwX1J+Dy7jQSJCSQ=FLe6ZAF4dbbs+T9pDSKeFA@mail.gmail.com>
	<CAPfUbHJd56s7uD4Cv5+Xi_vFg4=sY-4NqqiikZTtL+AR-eStVw@mail.gmail.com>


On 2023-08-31 Th 13:21, Orhan Punar wrote:
> Have you tried the command in ubuntu 22.04.3 LTS version?


Yes:


postgres@da3e702c6a02:~$ pg_ctlcluster 15 main start
postgres@da3e702c6a02:~$ psql -l
                                              List of databases
    Name    |  Owner   | Encoding | Collate |  Ctype  | ICU Locale | 
Locale Provider |   Access privileges
-----------+----------+----------+---------+---------+------------+-----------------+-----------------------
  postgres  | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | libc            |
  template0 | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | 
libc            | =c/postgres          +
            |          |          |         |         | 
|                 | postgres=CTc/postgres
  template1 | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | 
libc            | =c/postgres          +
            |          |          |         |         | 
|                 | postgres=CTc/postgres
(3 rows)

postgres@da3e702c6a02:~$ createdb blurfl
postgres@da3e702c6a02:~$ psql -l
                                              List of databases
    Name    |  Owner   | Encoding | Collate |  Ctype  | ICU Locale | 
Locale Provider |   Access privileges
-----------+----------+----------+---------+---------+------------+-----------------+-----------------------
  blurfl    | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | libc            |
  postgres  | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | libc            |
  template0 | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | 
libc            | =c/postgres          +
            |          |          |         |         | 
|                 | postgres=CTc/postgres
  template1 | postgres | UTF8     | C.UTF-8 | C.UTF-8 | | 
libc            | =c/postgres          +
            |          |          |         |         | 
|                 | postgres=CTc/postgres
(4 rows)

postgres@da3e702c6a02:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=jammy


It's not clear what you're doing wrong, but there does not appear to be 
any bug.


cheers


andrew


--
Andrew Dunstan
EDB:https://www.enterprisedb.com

view thread (8+ messages)

Message-ID: <1442dafa-8c91-fa6d-8721-78349c4e6bcb@dunslane.net>
Permalink:  ../1442dafa-8c91-fa6d-8721-78349c4e6bcb@dunslane.net/
Also on:    postgresql.org/message-id/1442dafa-8c91-fa6d-8721-78349c4e6bcb@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andrew@dunslane.net, exaltedsoft@gmail.com, jeff.janes@gmail.com
  Subject: Re: BUG #18078: createdb not working
  In-Reply-To: <1442dafa-8c91-fa6d-8721-78349c4e6bcb@dunslane.net>
  References: <18078-462b59fa711af3b4@postgresql.org> <CAMkU=1x02PqDwX1J+Dy7jQSJCSQ=FLe6ZAF4dbbs+T9pDSKeFA@mail.gmail.com> <CAPfUbHJd56s7uD4Cv5+Xi_vFg4=sY-4NqqiikZTtL+AR-eStVw@mail.gmail.com> <1442dafa-8c91-fa6d-8721-78349c4e6bcb@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox