Re: Windows installation problem at post-install step

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ertan Küçükoglu <ertan(dot)kucukoglu(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Windows installation problem at post-install step
Date: 2024-07-22 17:37:45
Message-ID: 4c21a115-ec58-4e79-86b8-8626bd307e02@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/22/24 10:09 AM, Ertan Küçükoglu wrote:
> Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>>, 22 Tem 2024 Pzt, 20:04 tarihinde
> şunu yazdı:
>
> When you connect using psql do you see template0, template1 and
> postgres
> when you do \l?
>
>
> Yes
> postgres=# \l
>                                                        List of databases
>    Name    |  Owner   | Encoding | Locale Provider |   Collate   |
>  Ctype    | ICU Locale | ICU Rules |   Access privileges
> -----------+----------+----------+-----------------+-------------+-------------+------------+-----------+-----------------------
>  postgres  | postgres | UTF8     | libc            | en_US.UTF-8 |
> en_US.UTF-8 |            |           |
>  template0 | postgres | UTF8     | libc            | en_US.UTF-8 |
> en_US.UTF-8 |            |           | =c/postgres          +
>            |          |          |                 |             |
>         |            |           | postgres=CTc/postgres
>  template1 | postgres | UTF8     | libc            | en_US.UTF-8 |
> en_US.UTF-8 |            |           | =c/postgres          +
>            |          |          |                 |             |
>         |            |           | postgres=CTc/postgres
> (3 rows)
>
> Does the restore work?
>
>
> Restore fails and complaints about the Windows locale name.
> Moreover, it is a cluster backup and restore deletes template1 which
> breaks psql connection.

What is the command you use to restore the pg_dumpall file?

template1 should not be dropped in the pg_dumpall file.

Is there output that shows that happening?

Was template1 dropped in the Windows Postgres instance?

> I need to remove postgresql and cluster for good and install back to fix
> that.
>
> Thanks & Regards,
> Ertan
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dunia Ramazani 2024-07-22 17:45:57 Unsuscribe
Previous Message Ertan Küçükoglu 2024-07-22 17:09:23 Re: Windows installation problem at post-install step