Re: tg_table_name and tg_table_schema for plpgsql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: tg_table_name and tg_table_schema for plpgsql
Date: 2006-05-27 23:53:44
Message-ID: 12984.1148774024@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2006-05-28 01:17:29 Re: tg_table_name and tg_table_schema for plpgsql
Previous Message Andrew Dunstan 2006-05-27 22:23:40 tg_table_name and tg_table_schema for plpgsql