Re: pg_upgrade 9.5.1: pg_upgrade_support missing - Mailing list pgsql-general

From schoetbi
Subject Re: pg_upgrade 9.5.1: pg_upgrade_support missing
Date
Msg-id 1456993864762-5890380.post@n5.nabble.com
Whole thread Raw
In response to Re: pg_upgrade 9.5.1: pg_upgrade_support missing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello,

I tried to delete all binary_upgrade schematas using this:

$ psql -tc "SELECT datname FROM pg_database" -U postgres -p 5433 | xargs -I
{} psql -d {} -U postgres -p 5433 -tc "drop schema if exists binary_upgrade
cascade;"

But got this:
output is not a tty

So I got the dblist from pgadmin and saved to file:
That worked:
$ cat dblist.txt | xargs -I {} psql -d {} -U postgres -p 5433 -tc "drop
schema if exists binary_upgrade cascade;"

pg_upgrade succeeded with the step:
Checking for presence of required libraries                 ok

But then I got:
Checking database user is the install user
Only the install user can be defined in the new cluster.
Failure, exiting

But this is the next story ;-) I can assure that deleting the schematas from
the source db solves my initial problem.

Thanks for your help,
Tobias Schönit




--
View this message in context:
http://postgresql.nabble.com/pg-upgrade-9-5-1-pg-upgrade-support-missing-tp5890202p5890380.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: "David Bennett"
Date:
Subject: Re: CStringGetTextDatum and other conversions in server-side code
Next
From: "Rader, David"
Date:
Subject: Re: Re: could not migrate 8.0.13 database with large object data to 9.5.1