Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Thu, 22 Mar 2007 11:31:12 -0400
  • Message-id: <3640(dot)1174577472(at)sss(dot)pgh(dot)pa(dot)us>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group