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

From Tom Lane
Subject Re: LANGUAGE sql functions don't use the custom plan logic
Date
Msg-id 17515.1436536350@sss.pgh.pa.us
Whole thread Raw
In response to LANGUAGE sql functions don't use the custom plan logic  (Andres Freund <andres@anarazel.de>)
Responses Re: LANGUAGE sql functions don't use the custom plan logic
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> 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.

There's a whole lot of ways in which the current implementation of
SQL-language functions leaves things to be desired.  What did you
run into exactly?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: creating extension including dependencies
Next
From: Andres Freund
Date:
Subject: Re: creating extension including dependencies