Re: Add hint for function named "is" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add hint for function named "is"
Date
Msg-id 27684.1471013707@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add hint for function named "is"  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> Is there a place in the error reporting path where we'd still have 
> access to the 'is' token, and have enough control to look for a relevant 
> function?

No.  The grammar can't assume that it's being run inside a transaction
(consider parsing START TRANSACTION, or ROLLBACK after a failure).
So catalog access is out, full stop.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().
Next
From: Andrew Gierth
Date:
Subject: Why is box <-> point missing, and box <-> box not indexable?