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

Re: user defined function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "etsuko shimabukuro" <etsukos(at)meta-bit(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: user defined function
Date: 2002-11-28 22:32:21
Message-ID: 16716.1038522741@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"etsuko shimabukuro" <etsukos(at)meta-bit(dot)com> writes:
> Does anyone know how to check the existance of user defined functions ?
> "\df" command lists all postgre built-in functions.
> How can we filter out only user defined ones ?

As of 7.3 you can restrict \df to particular schemas, eg

	\df public.*

to see only functions defined in the "public" schema.

If you don't like that answer, issue your own query and add a check on
the ownership of the function --- try psql -E to see what its query
looks like.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Michiel LangeDate: 2002-11-28 23:41:20
Subject: joins
Previous:From: brewDate: 2002-11-28 18:03:52
Subject: Re: Can't connect to socket in Debian distribution

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group