From: | Dmitry Dolgov <9erthalion6(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pg_dump throwing "column number -1 is out of range 0..36" on HEAD |
Date: | 2019-05-22 09:05:07 |
Message-ID: | CA+q6zcWy4OZYiMmygL0=EzdxhWrGh=bEB0f_zVi0Q=D6zJYxHQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> On Wed, May 22, 2019 at 10:34 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> Trying to do pg_dump[all] on a 9.5 or older server results in spurious
> failures:
> pg_dump: column number -1 is out of range 0..36
>
> After looking around, the problem comes from
> check_tuple_field_number(), more specifically from getTables() where
> someone has forgotten to add NULL values for amname when querying
> older server versions.
Yeah, sorry, looks like it was my fault.
> Attached is a patch to fix that. I am not seeing other failures with
> an instance that includes all the contents of installcheck, so it
> seems that the rest is fine.
>
> This needs to be applied to HEAD, so I am adding an open item.
>
> Any objections to the attached?
I've checked it too (on 9.4), don't see any issues after applying this patch,
so +1.
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2019-05-22 09:26:01 | Re: Teach pg_upgrade test to honor NO_TEMP_INSTALL |
Previous Message | Michael Paquier | 2019-05-22 08:34:17 | pg_dump throwing "column number -1 is out of range 0..36" on HEAD |