Slony-I 1.2.23 Documentation | ||||
---|---|---|---|---|
Prev | Fast Backward | Chapter 1. Schema schemadoc | Fast Forward | Next |
1.25. checkmoduleversion( )
Function Properties
Language: PLPGSQL
Return Type: text
Inline test function that verifies that slonik request for STORE NODE/INIT CLUSTER is being run against a conformant set of schema/functions.declare moduleversion text; begin select into moduleversion getModuleVersion(); if moduleversion <> '@MODULEVERSION@' then raise exception 'Slonik version: @MODULEVERSION@ != Slony-I version in PG build %', moduleversion; end if; return null; end;