Query all sequences per DB in parallel for action=sequence
authorChristoph Berg <[email protected]>
Mon, 23 Mar 2015 14:52:49 +0000 (15:52 +0100)
committerChristoph Berg <[email protected]>
Mon, 23 Mar 2015 15:19:16 +0000 (16:19 +0100)
commitf069af5d60587c93efd7c190706f08b81d6fad1f
tree1728d8f6a9a34b26a5205edc3708e3508e90d4e0
parent5a5cf9ffc53207517aadc3f2619ce4f6cb82c8f5
Query all sequences per DB in parallel for action=sequence

action=sequence used to open a new session for every sequence checked,
which could be very slow. Fix by creating a single SQL statement using
UNION ALL to query all sequences at once.
check_postgres.pl
t/02_sequence.t
t/CP_Testing.pm