| From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Ross <jeff(at)commandprompt(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3 |
| Date: | 2014-05-22 13:55:10 |
| Message-ID: | 20140522135510.GN7857@eldon.alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Bruce Momjian wrote:
> Moving forward, I think you need to add a dummy column to each problem
> table and drop the column ---- that will create a toast table and allow
> you to do the upgrade. I could have pg_upgrade detect this problem, but
> until I know the cause, I don't think that is wise.
Maybe --check mode could examine both clusters and see whether each
table having toast table or not matches. That wouldn't solve the actual
problem but at least give a clue, instead of these very obscure
problems.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2014-05-22 13:58:46 | Re: pg_upgrade fails: Mismatch of relation OID in database 8.4 -> 9.3 |
| Previous Message | Tom Lane | 2014-05-22 13:39:47 | Re: PostgreSQL 9.4 InterlockedCompareExchange appearing in mingw64-w32 causing issue with PostGIS win32 load |