From: dulhaver@mailbox.org
To: pgsql-admin@lists.postgresql.org
Subject: Re: Compatibility postgis
Date: Tue, 22 Aug 2023 13:33:09 +0200
Message-ID: <e2e428cd-4c38-4c3f-99c4-df8ac0befe29@mailbox.org> (raw)
In-Reply-To: <CAJk5AtbuQv+p2rYgGLOZ4a=abhxVJz5AxAZn_o+s3Qe+4q3ksg@mail.gmail.com>
References: <CAJk5AtbuQv+p2rYgGLOZ4a=abhxVJz5AxAZn_o+s3Qe+4q3ksg@mail.gmail.com>
compatibility between postgres/GIS is a little tricky.
This
<https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS#PostGISSupportMatrix;
is a good starting point to see what you have to aim for.
Next challenge is to figure out a workable upgrade path as it is not
unlikely you will have to go through some intermediate steps.
Maybe it would help whether you can specify which PostGIS version you
are coming from on the source (postgres-12) Installation.
On 22.08.23 09:35, Rajesh Kumar wrote:
> I am tring to upgrade from postgres 12 to postgres 15.
>
> And it seems like posigis extension I have on V12 is not compatible
> with V15.
>
> I get following error
>
>
> command: "/usr/pgsql-15/bin/pg_dump" --host /var/lib/pgsql --port
> 50432 --username postgres --schema-only --quote-all-identifiers
> --binary-upgrade --format=cu stom
> --file="/var/lib/pgsql/data/15/data/pg_upgrade_output.d/20230818T082920.083/dump/pg_upgrade_dump_27286.custom"
> 'dbname=common' >> "/var/lib/pgsql/data/1
> 5/data/pg_upgrade_output.d/20230818T082920.083/log/pg_upgrade_dump_27286.log"
> 2>&1 pg_dump: error: query failed: ERROR: could not access file
> "$libdir/postgis-3": No such file or directory
>
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: pgsql-admin@postgresql.org
Cc: dulhaver@mailbox.org, pgsql-admin@lists.postgresql.org
Subject: Re: Compatibility postgis
In-Reply-To: <e2e428cd-4c38-4c3f-99c4-df8ac0befe29@mailbox.org>
* 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