Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> As far as upgrade script for contrib extensions are concerned, we will
> be able to produce them from SQL, right?
Hm, interesting idea, but I'm afraid that pg_describe_object doesn't
produce exactly the syntax you need.
I had personally been thinking of generating the contrib upgrade scripts
via search-and-replace on the existing uninstall scripts.
regards, tom lane