Re: SQL Functions and plan time - Mailing list pgsql-general

From nolan@celery.tssi.com
Subject Re: SQL Functions and plan time
Date
Msg-id 20030708054927.13236.qmail@celery.tssi.com
Whole thread Raw
In response to Re: SQL Functions and plan time  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: SQL Functions and plan time  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> It's planned once per query.  There's been some talk of building a
> cross-query plan cache for SQL functions, like plpgsql has, but
> nothing done yet.

Several weeks ago I posted a note about a plpgsql function that fails
if an index that existed when it was created is subsequently dropped.
(I think this should be considered a bug, the existence or nonexistence
of indexes should affect performance, not whether queries fail.)

Would a cross-query plan cache for SQL functions create similar problems?
--
Mike Nolan

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL Functions and plan time
Next
From: Tom Lane
Date:
Subject: Re: SQL Functions and plan time