public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Help with restoring database from old version of PostgreSQL
Date: Wed, 13 Nov 2024 14:47:22 -0500
Message-ID: <CANzqJaCHsrrmCkg0xPP_mpi=cZJ4Nbty+ihU2yUa12Mj9+Ww5g@mail.gmail.com> (raw)
In-Reply-To: <CAAkgG6hSWMwUUivGzoi_ku6JNXmTVXC2mP7XY5Xs+QPnvKjAdQ@mail.gmail.com>
References: <CAAkgG6hSWMwUUivGzoi_ku6JNXmTVXC2mP7XY5Xs+QPnvKjAdQ@mail.gmail.com>
On Wed, Nov 13, 2024 at 1:50 PM Catherine Frock <[email protected]> wrote:
> I'm seeking help in restoring a database that was created with PostgreSQL
> 9.6. I backed it up successfully and have restored it before, but that was
> when PostgreSQL 9.6 was still supported. After going through the
> installation of PostgreSQL 16.3, I opened up pgAdmin 4 to try to verify the
> PostgreSQL/PostGIS installation, but when I try to connect to the
> PostgreSQL 16.3 server, I get an internal server error message: 'ServerManager'
> object has no attribute 'user_info'.
>
> In pgAdmin4, I am able to connect to the PostgreSQL 9.6 server, but when I
> try to verify the install by querying: CREATE EXTENSION postgis;
> SELECT postgis_version();
> I get the following error message: ERROR: could not open extension
> control file "C:/Program Files/PostgreSQL/9.6/share/extension/postgis.control":
> No such file or directory SQL state: 58P01
>
> How can I restore my database to have access to it again?
>
Do you still have the backup file somewhere? If so, then modern versions
of PG *will* read the 9.6 backup file. You "just" need to have PostGIS
somewhere on disk that PG 16.3 knows about.
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Help with restoring database from old version of PostgreSQL
In-Reply-To: <CANzqJaCHsrrmCkg0xPP_mpi=cZJ4Nbty+ihU2yUa12Mj9+Ww5g@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox