Re: tg_table_name and tg_table_schema for plpgsql - Mailing list pgsql-patches

From Tom Lane
Subject Re: tg_table_name and tg_table_schema for plpgsql
Date
Msg-id 12984.1148774024@sss.pgh.pa.us
Whole thread Raw
In response to tg_table_name and tg_table_schema for plpgsql  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: tg_table_name and tg_table_schema for plpgsql  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan <andrew@dunslane.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

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: tg_table_name and tg_table_schema for plpgsql
Next
From: Andrew Dunstan
Date:
Subject: Re: tg_table_name and tg_table_schema for plpgsql