Re: Can I see a content of function - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: Can I see a content of function
Date
Msg-id 1017049392.1228.137.camel@linda
Whole thread Raw
In response to Can I see a content of function  (Masakazu Ichimura <m.ichimura@nihontechno.co.jp>)
List pgsql-novice
On Mon, 2002-03-25 at 09:16, Masakazu Ichimura wrote:
> Hi,
>
> I'm using RedHat Linux7.2/PostgreSQL7.1.3,and
> Can the contents of created function be displayed?
> I'm troubled,Since only an outline is displayed by '\df'.

SELECT prosrc FROM pg_proc WHERE proname = 'name_of_the_function';

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C

     "Why are you downcast, O my soul? Why so disturbed
      within me? Put your hope in God, for I will yet praise
      Him, my Saviour and my God."       Psalm 42:11

Attachment

pgsql-novice by date:

Previous
From: Masakazu Ichimura
Date:
Subject: Can I see a content of function
Next
From: Daniel Grob
Date:
Subject: Re: rules over multiple tables