Re: getting 'full' names of functions?

From: raf <raf(at)raf(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: getting 'full' names of functions?
Date: 2009-03-05 00:32:59
Message-ID: 20090305003259.GA24998@raf.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jan-Peter(dot)Seifert(at)gmx(dot)de wrote:

> Hello Ashish, Hello Tom,
>
> thank you very much for your quick and helpful replies - I really appreciate that.
>
> > > May be this will help you:
> >
> > Easier is just
> > select oid::regprocedure from pg_proc where <whatever>
>
> I guess I'll go with the very nifty type cast suggested by Tom though as this covers aggregate functions as well. This possibility should be mentioned in the docs - together with the system information functions http://www.postgresql.org/docs/8.3/interactive/functions-info.html
>
> Too bad that this function syntax isn't part of information_schema.
>
> Thank you very much to both of you.
>

note that this method doesn't produce a complete function
signature. the precision and scale of numerics are not
included in the output. hopefully, that won't matter for
your needs.

cheers,
raf

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2009-03-05 09:11:39 Re: Postgressql backup/restore question
Previous Message Lee Azzarello 2009-03-04 23:23:18 Re: warm standby, pg_standby, invalid checkpoint record