Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
In response to
pgsql-hackers by date
|Next:||From: Greg Smith||Date: 2009-03-23 23:15:35|
|Subject: Resetting cluster-wide statistics|
|Previous:||From: Jeff Davis||Date: 2009-03-23 22:59:45|
|Subject: Re: GIN fast-insert vs autovacuum scheduling|