Facing issues with pgsql upgrade.

From: Ajay Kajla <ajaykajla(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org, Ajay Kajla <ajaykajla(at)gmail(dot)com>
Subject: Facing issues with pgsql upgrade.
Date: 2022-04-17 05:30:02
Message-ID: CAGBudo=6bqhT53uxpWi9K8O2FTQ1k_5sN1k2gjO-h00MGAx9MA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello All,

I'm facing the following issue while upgrading pgsql 9.6 to pgsql 13.

It's saying database "template0" "template1" does not exist on source 9.6,
please advise.

[image: image.png]

[postgres(at)htf:/var/lib/pgsql]$ psql

psql (9.2.24, server 9.6.24)

WARNING: psql version 9.2, server version 9.6.

Some psql features might not work.

Type "help" for help.

postgres=# \c template0

FATAL: database "template0" does not exist

DETAIL: The database subdirectory "base/13268" is missing.

Previous connection kept

postgres=# \c template1

FATAL: database "template1" does not exist

DETAIL: The database subdirectory "base/1" is missing.

Previous connection kept

postgres=#

With Regards,

Ajay Kajla

Responses

Browse pgsql-general by date

  From Date Subject
Next Message cecile rougnaux 2022-04-17 11:28:42 Error dydl : image not found when trying to install pg on Catalina
Previous Message Perry Smith 2022-04-16 19:06:15 Re: Help with large delete