Re: Dealing with table names in functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Dealing with table names in functions
Date: 2007-03-22 15:31:12
Message-ID: 3640.1174577472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jim Nasby <decibel(at)decibel(dot)org> writes:
> ... I can cast the OID to regclass, but that
> doesn't get me a fully-qualified name.

It does if the name needs to be qualified given your current search_path.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Douglas McNaught 2007-03-22 15:33:18 Re: using 'ALTER ROLE' in a function
Previous Message Douglas McNaught 2007-03-22 15:31:10 Re: Configuring phpPgAdmin and pg_ctl reload