LANGUAGE sql functions don't use the custom plan logic

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: LANGUAGE sql functions don't use the custom plan logic
Date: 2015-07-10 11:36:15
Message-ID: 20150710113615.GF26521@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-07-10 11:57:35 security labels on databases are bad for dump & restore
Previous Message Andres Freund 2015-07-10 10:47:55 Re: Re: Removing SSL renegotiation (Was: Should we back-patch SSL renegotiation fixes?)