get source of udf - Mailing list pgsql-general

From Peter Kroon
Subject get source of udf
Date
Msg-id CAOh+DOnokUzvuuO1x8byaSPFcbFihOuy=Ag0HFd1=Uts_MNGpg@mail.gmail.com
Whole thread Raw
Responses Re: get source of udf
List pgsql-general
Hi list,

I would like to get the source of a udf.
In mssql I run this query:
SELECT OBJECT_DEFINITION(OBJECT_ID) FROM sys.objects WHERE name='function_name';
And I get the entire source of the function.

How must I do this in PostgreSQL?

Thanks,
Peter

pgsql-general by date:

Previous
From: "JulAkmad, Julpikar"
Date:
Subject: Re: [SOLVED] WINDOWS : PostgreSQL 8.4 Server Start Error
Next
From: Merlin Moncure
Date:
Subject: Re: High SYS CPU - need advise