]> git.evergreen-ils.org Git - Evergreen.git/commit
Make DROP statement match new basetype for agg_tsvector
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 16 Mar 2011 03:38:26 +0000 (03:38 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 16 Mar 2011 03:38:26 +0000 (03:38 +0000)
commit5e43a00948a7650ea7d16b9772f90aa81dc5078a
treeec22a9f8b30b17bea7b9e4ee67a6575badf2f5dc
parent78e8e4a749d3c644838e68593846185628d974e2
Make DROP statement match new basetype for agg_tsvector

When the CREATE AGGREGATE function was changed to have a basetype
of pg_catalog.agg_tsvector, the corresponding DROP statement was
not changed in a similar fashion; ergo, on creating the schema
a subsequent time, the CREATE statement would fail because the
aggregate function already existed and the transaction would be
rolled back.

Also - do we need to differentiate between PostgreSQL 8.4 and 9.0
here?

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19758 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/002.functions.aggregate.sql