Re: postgres_fdw versus regconfig and similar constants

2022-07-17 Thread Tom Lane
Robert Haas writes: > On Mon, May 16, 2022 at 1:33 PM Tom Lane wrote: >> 0002 tightens deparse.c's rules to only consider an OID alias constant >> as shippable if the object it refers to is shippable. This seems >> obvious in hindsight; I wonder how come we've not realized it before? >> However,

Re: postgres_fdw versus regconfig and similar constants

2022-07-01 Thread Robert Haas
On Mon, May 16, 2022 at 1:33 PM Tom Lane wrote: > 0001 deals with the lack-of-schema-qualification issue by forcing > search_path to be just "pg_catalog" while we're deparsing constants. > This seems straightforward, if annoyingly expensive, and it's enough > to fix the bug as presented. Yeah, th