Skip to content

Commit

Permalink
spacemanager: Add changeset to install plpgsql
Browse files Browse the repository at this point in the history
Target: trunk
Require-notes: no
Require-book: no
Acked-by: Albert Rossi <arossi@fnal.gov>
Patch: http://rb.dcache.org/r/6403/
  • Loading branch information
gbehrmann committed Jan 18, 2014
1 parent 827b2f8 commit 46c37f2
Showing 1 changed file with 13 additions and 0 deletions.
Expand Up @@ -4,6 +4,19 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd">

<changeSet id="0" author="behrmann" dbms="postgresql">
<preConditions onFail="MARK_RAN" onFailMessage="plpgsql language already exists (this is not an error)">
<not>
<sqlCheck expectedResult="1">
SELECT 1 FROM pg_language WHERE lanname = 'plpgsql'
</sqlCheck>
</not>
</preConditions>
<comment>Install plpgsql procedural language</comment>
<sql>CREATE LANGUAGE plpgsql</sql>
<rollback/>
</changeSet>

<!-- linkgroup.freespaceinbytes only ever decreases in trigger updates below; this is a heuristic
to quickly update freespaceinbytes as space is consumed. The real value is provided by
periodic updates from pool manager. The heuristic does not increase linkgroup.freespaceinbytes
Expand Down

0 comments on commit 46c37f2

Please sign in to comment.