Re: Where are PL/pgSQL functions stored? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Where are PL/pgSQL functions stored?
Date
Msg-id 20030917200334.GD4233@dcc.uchile.cl
Whole thread Raw
In response to Where are PL/pgSQL functions stored?  (david_shadovitz@xontech.com (David Shadovitz))
List pgsql-general
On Wed, Sep 17, 2003 at 10:32:57AM -0700, David Shadovitz wrote:
> Where are PL/pgSQL functions stored?  I want to retrieve the text of a
> function that I've created.

In psql, try
\df+ your-function-name

Function bodies are in the pg_proc table, but the above trick should be
enough.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Hay que recordar que la existencia en el cosmos, y particularmente la
elaboración de civilizaciones dentre de él no son, por desgracia,
nada idílicas" (Ijon Tichy)

pgsql-general by date:

Previous
From: Dmitry Tkach
Date:
Subject: Re: Weird query plan
Next
From: Tom Lane
Date:
Subject: Re: Weird query plan