Re: patch - Report the schema along table name in a referential failure error message - Mailing list pgsql-hackers

From Tom Lane
Subject Re: patch - Report the schema along table name in a referential failure error message
Date
Msg-id 27534.1258467370@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch - Report the schema along table name in a referential failure error message  (George Gensure <werkt0@gmail.com>)
List pgsql-hackers
George Gensure <werkt0@gmail.com> writes:
> There's some tricky stuff in here to say the least.  Doesn't look like
> param names are kept anywhere past the parser - gonna have to have it
> follow through a bunch of functions to reach
> parse_(fixed|variable)_parameters.  The p_post_columnref_hook you
> alluded to will help once I have the names though, so thanks :)

I'm not sure where you're looking, but I would think the place to start
is with pulling the parameter names out of the pg_proc tuple in
init_sql_fcache.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: UTF8 with BOM support in psql
Next
From: Tom Lane
Date:
Subject: Re: actualised funcs typmod patch