Re: Odd pg dump error: cache lookup failure - Mailing list pgsql-admin

From Tom Lane
Subject Re: Odd pg dump error: cache lookup failure
Date
Msg-id 737423.1603734778@sss.pgh.pa.us
Whole thread Raw
In response to Re: Odd pg dump error: cache lookup failure  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-admin
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> [ v3 patches ]

This looks committable to me, with one trivial nit:
in LockViewRecurse_walker, it'd be better to not do get_rel_name()
(or even fetch rte->relid, really) until we've verified the rtekind.
As-is, it's wasting cycles and presuming more than it ought to
about the error behavior of get_rel_name().  That's a pre-existing
problem not the fault of this patch, but we might as well fix it
while we're here.

            regards, tom lane



pgsql-admin by date:

Previous
From: Lars Aksel Opsahl
Date:
Subject: Re: free(): invalid pointer , when to dumping data to a new server
Next
From: Naveen Kumar
Date:
Subject: wait_event_type IO & wait_event CopyFileRead