| PLPGSQL | text |
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; |