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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: George Gensure <werkt0(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch - Report the schema along table name in a referential failure error message
Date: 2009-11-17 14:16:10
Message-ID: 27534.1258467370@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

George Gensure <werkt0(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-11-17 14:46:26 Re: actualised funcs typmod patch
Previous Message Andrew Dunstan 2009-11-17 14:08:12 Re: UTF8 with BOM support in psql