cal
=head2 active
boolean
=head2 restart_lsn
Last log serial number sent
=head2 full_data
A json object of the whole pg_replication_slots entry. You can use this to
get data not supported by b
through normal means.
=cut
my $query =
"
SELECT slot_name, slot_type, active, restart_lsn, to_jsonb(s) as full_data,
now() as querytime, CASE WHEN pg_is_in_recovery()