1
2
3
4
5
6
7
8
9
-- Returned by the function tools.change_polling_record_differences_perl()
-- Run this before running change_polling_record_differences_perl.sql
CREATE TYPE polling_record_differences_result AS (
	executed_without_error boolean,
	change_detected boolean,
	inserted_count integer,
	updated_count integer,
	deleted_count integer
);