LANGUAGE sql functions don't use the custom plan logic - Mailing list pgsql-hackers

From Andres Freund
Subject LANGUAGE sql functions don't use the custom plan logic
Date
Msg-id 20150710113615.GF26521@alap3.anarazel.de
Whole thread Raw
Responses Re: LANGUAGE sql functions don't use the custom plan logic  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

I recently was forcfully reminded that sql functions don't use the
plancache.c infrastructure. I was sort of aware of that, but I didn't
think far enough ahead that that also implies we'll not use custom plans
for statements with parameters when it'd be helpful.

That's imo quite the trap. Should we document it somewhere?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: WAL logging problem in 9.4.3?
Next
From: Andres Freund
Date:
Subject: security labels on databases are bad for dump & restore