This patch implements putting language handlers for the optional PLs

Bruce Momjian <bruce@momjian.us>

Commit: 07931080360021376af8128b0ca297406a9ab121
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-07-10T14:26:30Z
Releases: 8.1.0
This patch implements putting language handlers for the optional PLs
into pg_catalog rather than public, and supports dumping languages whose
handlers are found there. This will make it easier to drop the public
schema if desired.

Unlike the previous patch, the comments have been updated and I have
reformatted some code to meet Alvarro's request to stick to 80 cols. (I
actually aghree with this - it makes printing the code much nicer).

I think I did the right thing w.r.t versions earlier than 7.3, but I
have no real way of checking, so that should be checked by someone with
more/older knowledge than me ;-)

Andrew Dunstan

Files

PathChange+/−
src/bin/pg_dump/pg_dump.c modified +48 −19
src/bin/pg_dump/pg_dump.h modified +2 −1
src/bin/scripts/createlang.c modified +26 −12
src/bin/scripts/droplang.c modified +49 −15