insert into a values ('1', 2) except select b, c from a
insert into a values ('1'::int, 2) except select b, c from a
where id in(select * from unnest(services))
where id = any (services)
SELECT pg_xlog_location_diff(pg_last_xlog_receive_location(), pg_last_xlog_replay_location()) as bytes_lag