Re: Pre-version pg_upgrade syntax check - Mailing list pgsql-general

From Rich Shepard
Subject Re: Pre-version pg_upgrade syntax check
Date
Msg-id alpine.LNX.2.20.2002110538440.12893@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Pre-version pg_upgrade syntax check  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Pre-version pg_upgrade syntax check  (Rich Shepard <rshepard@appl-ecosys.com>)
Re: Pre-version pg_upgrade syntax check  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
On Mon, 10 Feb 2020, Adrian Klaver wrote:

> So you already have 11 and 12 instances of Postgres running?

Adrian,

No. Both 11 and 12 are installed; neither is running. I have a cron job that
runs pg_dumpall every weekday night.

> If so why use pg_upgrade?

Because I wanted to try it rather than use 'psql -f <filename>.sql'

> To verify what is going on do:
> /usr/lib64/postgresql/11/bin/psql --version

The pg_upgrade page says to not have either the old or new versions running.

> vi /var/lib/pgsql/11/data/PG_VERSION

/var/lib/pgsql/11/data/PG_VERSION is 11; /var/lib/pgsql/12/data/PG_VERSION
is 12.

Rich



pgsql-general by date:

Previous
From: Vikram Sah
Date:
Subject: Re: Function not imported in Entity Framework
Next
From: George Weaver
Date:
Subject: Re: PostgreSQL Installer issue