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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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