Re: Async execution of postgres_fdw. - Mailing list pgsql-hackers

From Kyotaro HORIGUCHI
Subject Re: Async execution of postgres_fdw.
Date
Msg-id 20150114.172450.102338109.horiguchi.kyotaro@lab.ntt.co.jp
Whole thread Raw
In response to Re: Async execution of postgres_fdw.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Responses Re: Async execution of postgres_fdw.
List pgsql-hackers
Hello,

> - The issue of PREPARE is not addressed yet.
...

> > In case of Prepared statements, ExecInit is called at the end of planning,
> > without subsequent execution like the case of EXPLAIN. I see that the patch
> > handles EXPLAIN well, but I didn't see any specific code for PREPARE.
> 
> I'll look into the case after this, but I'd like to send a
> revised patch at this point.

Mmm.. CreateExecutorState() looks to be called when calculating
the expression in predicates, clauses, or EXECUTE parameters. All
of these complete SQL execution if any. And I couldn't make the
situation you mentioned.

Could you give me an example or illustration about such a
situation where ExecInit alone is called without
IterateForeignScan?

regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Typo fix in alter_table.sgml
Next
From: Dean Rasheed
Date:
Subject: Re: INSERT ... ON CONFLICT UPDATE and RLS