Re: 8.1 and syntax checking at create time

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Undisclosed(dot)Recipients: ;
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.1 and syntax checking at create time
Date: 2005-08-31 19:25:17
Message-ID: 200508311225.17627.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Matt,

> On Wed, 2005-08-31 at 11:59 -0700, Josh Berkus wrote:
> > If a table does not exist, we don't want to check for that and bounce
> > the function; possibly the function will only be called in a context
> > where the table does exist.
>
> The Pl/pgSQL compiler should be able to dive into SQL statements, hit
> the catalog, and bounce a function because of invalid database object
> references. Ideally this capability could be turned off on demand.

Well, that would certainly be nice to have as an *additional* capability.
Patches welcome!

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-31 19:29:30 Re: 8.1 and syntax checking at create time
Previous Message Matt Miller 2005-08-31 19:18:58 Re: 8.1 and syntax checking at create time