Re: Show stored function code

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: mephysto <mephystoonhell(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Show stored function code
Date: 2012-03-28 14:01:34
Message-ID: CAHyXU0yaT6wS2ce=njHKXnBaabYpst=YX4dk2bMmG8UJMYUDRw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, Mar 28, 2012 at 8:33 AM, mephysto <mephystoonhell(at)gmail(dot)com> wrote:
> Hello,
> I'm trying to execute search in my stored functions code, but I have some
> difficulties. I'm using postgres 9.1.3, and if I execeute this query
>
> SELECT prosrc FROM pg_proc WHERE proname = <function name>;
>
> I retrieve an empty column for all my custom stored functions.
>
> Are I committing some errors?
> Is there an alternative way to achieve my goal?

That should work. What language are your functions written in?

merlin

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Mephysto 2012-03-28 14:05:01 Re: Show stored function code
Previous Message mephysto 2012-03-28 13:36:43 Re: application_name