Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Here's a patch for tg_table_name and tg_table_schema for plpgsql, which
> I would appreciate a quick review of just to make sure I haven't missed
> something or done something silly.
Looks all right other than odd indentation ;-)
If you want to test tg_relid, what about casting it to regclass to get a
reasonable symbolic printout?
regards, tom lane