QUERY PLAN
Bitmap Heap Scan on tbl_clients (cost=142.39..423.47 rows=387 width=49)
Recheck Cond: (id = ANY ('{2803,2718,1181,3216,2519,530,3431,1464,3210,473,2712,295,3101,2585,2360,3047,989,2463,2331,2568,1363,3257,3193,3455,2816,2499,1641,1210,16,3254,2633,2304,1356,3028,1415,1301,876,521,3186,2236,361,982,3048,3039,3327,3253,3392,3336,3191,93,2113,57,3013,2598,3143,2736,51,2308,374,3074,3425,2455,1663,2755,2219,2295,538,2158,1925,1563,2192,2831,2526,706,543,1276,1174,1993,1378,2610,2139,3064,2366,3042,2306,2277,1120,44,15,344,121,1419,2253,3422,2697,1653,591,39,3335,3298,3247,2128,2281,380,6,2806,2178,36,2437,2747,204,2756,2825,2284,1034,1244,533,371,2757,2185,1125,60,2099,1386,4,80,149,2656,2409,147,3241,3249,334,3308,1261,402,2548,2422,1496,5,3423,2153,3196,2309,20,2130,518,2582,1400,1273,94,2374,2572,2458,572,918,2151,21,3144,3139,2662,2367,2344,140,66,2410,692,189,3031,107,3405,2227,2446,109,157,3030,2476,2142,31,2215,1344,579,2146,1681,1383,54,309,3311,3299,2607,2225,2484,23,2769,2734,2094,983,2821,211,2637,3443,3325,2009,2378,3358,3258,89,3061,2793,101,2596,169,287,3266,27,3022,1492,3377,3141,2791,2778,2775,2664,2263,97,14,2400,251,584,3399,1855,248,3209,1040,603,2659,2575,2507,2616,913,2589,1951,2489,3270,2150,2420,1976,3248,889,1251,2186,1536,1212,137,3386,2544,1339,59,2696,2240,3109,2612,2842,2337,3347,1229,3190,2435,48,2530,399,1468,2187,3419,398,2243,544,1637,1260,3398,2314,2792,29,2312,28,3275,85,294,2166,2443,2648,2643,286,3151,2782,2560,2342,1203,1391,1322,571,1068,623,292,148,3331,2439,1122,296,2618,2540,1412,499,2404,42,2549,383,1188,2605,2290,3397,3342,1346,2619,1417,3207,2850,2590,2136,1121,2609,1126,993,984,2613,2687,2359,2762,2840,2644,2210,2103,1886,1270,1215,2327,1077,18,2189,2715,2574,167,1141,205,3051,110,2838,2759,2627,2611,2288,106,1031,979,2807,2553,2640,2492,2433,2393,2365,622,491,2361,301,33,3081,2830,2679,46,1906,1645,2298,2651,2845,2603,476}'::integer[]))
-> Bitmap Index Scan on tbl_clients_pkey (cost=0.00..142.30 rows=387 width=0)
Index Cond: (id = ANY ('{2803,2718,1181,3216,2519,530,3431,1464,3210,473,2712,295,3101,2585,2360,3047,989,2463,2331,2568,1363,3257,3193,3455,2816,2499,1641,1210,16,3254,2633,2304,1356,3028,1415,1301,876,521,3186,2236,361,982,3048,3039,3327,3253,3392,3336,3191,93,2113,57,3013,2598,3143,2736,51,2308,374,3074,3425,2455,1663,2755,2219,2295,538,2158,1925,1563,2192,2831,2526,706,543,1276,1174,1993,1378,2610,2139,3064,2366,3042,2306,2277,1120,44,15,344,121,1419,2253,3422,2697,1653,591,39,3335,3298,3247,2128,2281,380,6,2806,2178,36,2437,2747,204,2756,2825,2284,1034,1244,533,371,2757,2185,1125,60,2099,1386,4,80,149,2656,2409,147,3241,3249,334,3308,1261,402,2548,2422,1496,5,3423,2153,3196,2309,20,2130,518,2582,1400,1273,94,2374,2572,2458,572,918,2151,21,3144,3139,2662,2367,2344,140,66,2410,692,189,3031,107,3405,2227,2446,109,157,3030,2476,2142,31,2215,1344,579,2146,1681,1383,54,309,3311,3299,2607,2225,2484,23,2769,2734,2094,983,2821,211,2637,3443,3325,2009,2378,3358,3258,89,3061,2793,101,2596,169,287,3266,27,3022,1492,3377,3141,2791,2778,2775,2664,2263,97,14,2400,251,584,3399,1855,248,3209,1040,603,2659,2575,2507,2616,913,2589,1951,2489,3270,2150,2420,1976,3248,889,1251,2186,1536,1212,137,3386,2544,1339,59,2696,2240,3109,2612,2842,2337,3347,1229,3190,2435,48,2530,399,1468,2187,3419,398,2243,544,1637,1260,3398,2314,2792,29,2312,28,3275,85,294,2166,2443,2648,2643,286,3151,2782,2560,2342,1203,1391,1322,571,1068,623,292,148,3331,2439,1122,296,2618,2540,1412,499,2404,42,2549,383,1188,2605,2290,3397,3342,1346,2619,1417,3207,2850,2590,2136,1121,2609,1126,993,984,2613,2687,2359,2762,2840,2644,2210,2103,1886,1270,1215,2327,1077,18,2189,2715,2574,167,1141,205,3051,110,2838,2759,2627,2611,2288,106,1031,979,2807,2553,2640,2492,2433,2393,2365,622,491,2361,301,33,3081,2830,2679,46,1906,1645,2298,2651,2845,2603,476}'::integer[]))