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