Re: Pre-version pg_upgrade syntax check

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Pre-version pg_upgrade syntax check
Date: 2020-02-11 13:43:31
Message-ID: alpine.LNX.2.20.2002110538440.12893@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message George Weaver 2020-02-11 15:05:21 Re: PostgreSQL Installer issue
Previous Message Vikram Sah 2020-02-11 11:56:30 Re: Function not imported in Entity Framework