On Wed, Dec 15, 2021 at 10:08:07PM -0600, Justin Pryzby wrote:
> Is it possible to clean up pg_upgrade, too ?

Nevermind - I found yesterday's e469f0aaf3 after git-fetch.

I think you missed a few parts though ?

src/bin/pg_upgrade/function.c
                if (GET_MAJOR_VERSION(old_cluster.major_version) <= 900)
...
                        if (GET_MAJOR_VERSION(old_cluster.major_version) <= 900 
&&
                                strcmp(lib, "$libdir/plpython") == 0)

src/bin/pg_upgrade/option.c
                                 * Someday, the port number option could be 
removed and passed
                                 * using -o/-O, but that requires postmaster -C 
to be
                                 * supported on all old/new versions (added in 
PG 9.2).
...
        if (GET_MAJOR_VERSION(cluster->major_version) >= 901)


Reply via email to