Re: Accessing non catalog table in backend - Mailing list pgsql-hackers

From Atri Sharma
Subject Re: Accessing non catalog table in backend
Date
Msg-id CAOeZVidqamcbgBngRPCmpZow8emTQcEMh6_k-ywV3AR-dQLZPg@mail.gmail.com
Whole thread Raw
In response to Re: Accessing non catalog table in backend  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: Accessing non catalog table in backend  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Accessing non catalog table in backend  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers


On Tue, Jan 5, 2016 at 9:54 AM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote:
On 2016/01/05 3:53, Atri Sharma wrote:
> I was wary to use SPI inside the executor for node evaluation functions.
> Does it seem safe?

What is "node evaluation functions"? Is it "Plan" nodes or "Expr" nodes
that you are talking about? I guess you'd know to use ExecProcNode() or
ExecEvalExpr() for them, respectively.

Thanks,
Amit



I fail to see the relevance of which node is getting evaluated (its a Plan node BTW) for this question. The concern I had was around using SPI inside executor and its fail safety.

Regards,

Atri

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: dynloader.h missing in prebuilt package for Windows?
Next
From: Chapman Flack
Date:
Subject: Re: dynloader.h missing in prebuilt package for Windows?