Re: [HACKERS] plpgsql problem.. - Mailing list pgsql-hackers

From Sevo Stille
Subject Re: [HACKERS] plpgsql problem..
Date
Msg-id 389707F8.175B362F@ip23.net
Whole thread Raw
In response to Re: [HACKERS] Problem in current CVS  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Mitch Vincent wrote:
> 
> This might sound like an ignorant question but how does one dump the
> function catalog?

The functions are in pg_proc. So generally, it would be "select * from
pg_proc". For the given problem, "select proname,probin from pg_proc;"
would be sufficient. Dump to a importable set of SQL statements, as in
pg_dump, can't be done - restoring a system table would hose the id
references, so exporting to a restorable format is of no use.

Sevo


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] plpgsql problem..
Next
From: "Mitch Vincent"
Date:
Subject: Re: [HACKERS] plpgsql problem..