From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan-Peter.Seifert@gmx.de
Cc: Ashish Karalkar <ashishka@synechron.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: getting 'full' names of functions?
Date: Wed, 04 Mar 2009 15:38:39 -0500
Message-ID: <6382.1236199119@sss.pgh.pa.us> (raw)
In-Reply-To: <20090304173815.4090@gmx.net>
References: <20090302122020.137490@gmx.net>
<49ABE46D.3000501@synechron.com>
<20090304173815.4090@gmx.net>
Jan-Peter.Seifert@gmx.de writes:
> I combined your suggestions into this query I'll be using for now:
> SELECT DISTINCT n.nspname || '.' || p.oid::regprocedure::text FROM
This is flat *wrong*, as you'll soon find if you are working with
functions in more than one schema. regprocedure already puts a
schema qualification on the name if one is needed.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Jan-Peter.Seifert@gmx.de, ashishka@synechron.com
Subject: Re: getting 'full' names of functions?
In-Reply-To: <6382.1236199119@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox