Re: Quering complete PLPGSQL code

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: Néstor Boscán <nestorjb(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Quering complete PLPGSQL code
Date: 2014-07-14 23:23:37
Message-ID: 8638e3ed8m.fsf@jerry.enova.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Néstor Boscán <nestorjb(at)gmail(dot)com> writes:

> Hi
>
> I want to get the PLPGSQL code from the PostgreSQL 9.1 database. I've used pg_proc that only gives me the body of the code. Is there a Postgres function that can build
> all the code?

pg_get_functiondef(oid)

>
> Regards,
>
> Néstor
>

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres(dot)consulting(at)comcast(dot)net
p: 312.241.7800

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-07-14 23:25:19 Re: Quering complete PLPGSQL code
Previous Message Jeff Janes 2014-07-14 22:42:51 Re: Why corruption memory in one database affects all the cluster?