Re: patch - Report the schema along table name in a referential failure error message
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: George Gensure <werkt0@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2009-11-17T14:16:10Z
Lists: 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