Re: FDW for PostgreSQL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FDW for PostgreSQL
Date
Msg-id 26340.1352257064@sss.pgh.pa.us
Whole thread Raw
In response to Re: FDW for PostgreSQL  (花田 茂 <shigeru.hanada@gmail.com>)
List pgsql-hackers
花田 茂 <shigeru.hanada@gmail.com> writes:
> ClassifyConditions creates new lists, local_conds and remote_conds,
> which have cells which point RestrictInfo(s) in baserestrictinfo.
> It doesn't copy RestrictInfo for new lists, but I think it's ok
> because baserestrictinfo list itself and RestrictInfo(s) pointed by
> it are never modified by postgresql_fdw.

That's good.  I think there are actually some assumptions that
RestrictInfo nodes are not copied once created.  You can link them into
new lists all you want, but don't copy them.
        regards, tom lane



pgsql-hackers by date:

Previous
From: 花田 茂
Date:
Subject: Re: FDW for PostgreSQL
Next
From: Amit Kapila
Date:
Subject: Re: Proposal for Allow postgresql.conf values to be changed via SQL