Bug 358 - The slonik_execute_script includes the set id on slony 2.2.4
Summary: The slonik_execute_script includes the set id on slony 2.2.4
Alias: None
Product: Slony-I
Classification: Unclassified
Component: altperl (show other bugs)
Version: 2.0
Hardware: All Linux
: low trivial
Assignee: Rose Nancy
Depends on:
Reported: 2015-02-11 07:42 UTC by Federico Campoli
Modified: 2015-02-11 12:01 UTC (History)
1 user (show)

See Also:

slonik_execute_script patch for 2.2.4 (632 bytes, patch)
2015-02-11 07:42 UTC, Federico Campoli

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Campoli 2015-02-11 07:42:47 UTC
Created attachment 212 [details]
slonik_execute_script patch for 2.2.4

Not sure if this is the correct place to report, anyway I've found a minor issue with the slonik_execute_script after upgrading to slony 2.2.4.

The script generates the EXECUTE SCRIPT specifying the set id which is no longer in use for the 2.2.4.
The attached patch makes the perl script's output compatible with the 2.2.4.

The changes are basically.

1) replace the set id with the eventnode id
2) remove the set id from the output.