Re: contrib function naming, and upgrade issues - Mailing list pgsql-hackers

From Tom Lane
Subject Re: contrib function naming, and upgrade issues
Date
Msg-id 4635.1237849832@sss.pgh.pa.us
Whole thread Raw
In response to Re: contrib function naming, and upgrade issues  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
>  Tom> A defining SQL script is the way to go.

> But I disagree with this, for the simple reason that we don't have
> anything like enough flexibility in the form of conditional DDL or
> error handling, when working in pure SQL without any procedural help.

So?  You can have the script create, execute, and remove a function,
and thereby perform any operation that a function could possibly
perform for you.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: GIN fast-insert vs autovacuum scheduling
Next
From: Greg Smith
Date:
Subject: Resetting cluster-wide statistics