pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: imad <immaad@gmail.com>
To: Doron Baranes <doron.baranes@dbnet.co.il>
Cc: pgsql-admin@postgresql.org
Subject: Re: Functions
Date: Mon, 27 Nov 2006 14:33:17 +0500
Message-ID: <1f30b80c0611270133m189cc12qfe207c879dfe2802@mail.gmail.com> (raw)
In-Reply-To: <0BA77301DFF4B24C9C5DAA74138BF95003C783@exchange-1.dbnet.co.il>
References: <0BA77301DFF4B24C9C5DAA74138BF95003C783@exchange-1.dbnet.co.il>

select prosrc from pg_proc where proname = '<function_name>';

However you cannot see the code of C language function with this query.

is that what you wanted?

--Imad
www.EnterpriseDB.com


On 11/27/06, Doron Baranes <doron.baranes@dbnet.co.il> wrote:
>
> Hi,
>
> I'm new to postgres and i cant find how can i get a function code from the database.
>
> 10x
> Doron
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>



view thread (12+ messages)  latest in thread

Message-ID: <1f30b80c0611270133m189cc12qfe207c879dfe2802@mail.gmail.com>
Permalink:  ../1f30b80c0611270133m189cc12qfe207c879dfe2802@mail.gmail.com/
Also on:    postgresql.org/message-id/1f30b80c0611270133m189cc12qfe207c879dfe2802@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: immaad@gmail.com, doron.baranes@dbnet.co.il
  Subject: Re: Functions
  In-Reply-To: <1f30b80c0611270133m189cc12qfe207c879dfe2802@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox