Re: FDW for PostgreSQL
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: 花田 茂 <shigeru.hanada@gmail.com>
Cc: Kohei KaiGai <kaigai@kaigai.gr.jp>, Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-11-07T02:57:44Z
Lists: pgsql-hackers
=?iso-2022-jp?B?GyRCMlZFRBsoQiAbJEJMUBsoQg==?= <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