From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | rgonzalez(at)spensiones(dot)cl |
Subject: | BUG #16090: Migración con pg_dump |
Date: | 2019-10-30 14:46:41 |
Message-ID: | 16090-d6ea11d1c8db11a7@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 16090
Logged by: Regina Gonzalez
Email address: rgonzalez(at)spensiones(dot)cl
PostgreSQL version: 11.5
Operating system: Redhat 7
Description:
Alvaro Herrera:
El problema que te comenté en pgDay es el siguiente:
Al tratar de realizar la migración de postgres versión 8.4 a 11.5 utilizando
pg_dump, es decir:
pg_dump -h IP_Servidor8.4 -U postgres -d BD -n Squema | psql BD -U postgres
entrega el siguiente error:
pg_dump: [archiver (db)] query failed: ERROR: relation "pg_opfamily" does
not exist
pg_dump: [archiver (db)] query was: SELECT classid, objid, refclassid,
refobjid, deptype FROM pg_depend WHERE deptype != 'p' AND deptype != 'e'
UNION ALL
SELECT 'pg_opfamily'::regclass AS classid, amopfamily AS objid, refclassid,
refobjid, deptype FROM pg_depend d, pg_amop o WHERE deptype NOT IN ('p',
'e', 'i') AND classid = 'pg_amop'::regclass AND objid = o.oid AND NOT
(refclassid = 'pg_opfamily'::regclass AND amopfamily = refobjid)
UNION ALL
SELECT 'pg_opfamily'::regclass AS classid, amprocfamily AS objid,
refclassid, refobjid, deptype FROM pg_depend d, pg_amproc p WHERE deptype
NOT IN ('p', 'e', 'i') AND classid = 'pg_amproc'::regclass AND objid = p.oid
AND NOT (refclassid = 'pg_opfamily'::regclass AND amprocfamily = refobjid)
ORDER BY 1,2
El comando pg_dump lo habíamos utilizado sin problemas hasta
aproximadamente junio del 2019 y no entregaba el error anteriormente
indicado, pero ahora (octubre 2019) en la migración de versión 8.4 a 10 y
8.4 a 11.5 entrega el mismo mensaje de error.
Nuestros servidores tienen redhat. En el caso del postgres8.4 la versión de
redhat es Red Hat Enterprise Linux Server release 5.10 y la de los
servidores con postgres10 y postgres11 es Red Hat Enterprise Linux Server
release 7.7
Ojalá exista una solución porque tenemos que realizar migración de muchas
otras Bases de Datos.
From | Date | Subject | |
---|---|---|---|
Next Message | Dmitry Dolgov | 2019-10-30 15:10:06 | Re: BUG #16089: Index only scan does not happen but expected |
Previous Message | Josef Machytka | 2019-10-30 14:35:24 | Re: memory problems and crash of db when deleting data from table with thousands of partitions |