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

Re: Can I see a content of function

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Masakazu Ichimura <m(dot)ichimura(at)nihontechno(dot)co(dot)jp>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Can I see a content of function
Date: 2002-03-25 09:43:12
Message-ID: 1017049392.1228.137.camel@linda (view raw or flat)
Thread:
Lists: 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(dot)Elphick(at)lfix(dot)co(dot)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  

In response to

pgsql-novice by date

Next:From: Daniel GrobDate: 2002-03-25 15:05:49
Subject: Re: rules over multiple tables
Previous:From: Masakazu IchimuraDate: 2002-03-25 09:16:35
Subject: Can I see a content of function

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