Mon Jul 20 09:41:57 PDT 2009
- Previous message: [Slony1-commit] slony1-engine/src/slon confoptions.c
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon In directory main.slony.info:/tmp/cvs-serv21022 Modified Files: remote_worker.c Log Message: Change actionseq values from "int" to "long long" to accomodate large sequence values - per bug #92 Index: remote_worker.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v retrieving revision 1.176 retrieving revision 1.177 diff -C2 -d -r1.176 -r1.177 *** remote_worker.c 29 Aug 2008 21:06:45 -0000 1.176 --- remote_worker.c 20 Jul 2009 16:41:55 -0000 1.177 *************** *** 3783,3787 **** monitor_subscriber_query(&pm); ! slon_log(SLON_INFO, "about to monitor_subscriber_query - pulling big actionid list %d\n", provider); if (PQresultStatus(res1) != PGRES_TUPLES_OK) --- 3783,3787 ---- monitor_subscriber_query(&pm); ! slon_log(SLON_INFO, "about to monitor_subscriber_query - pulling big actionid list for %d\n", provider->no_id); if (PQresultStatus(res1) != PGRES_TUPLES_OK) *************** *** 5514,5518 **** { CompressState state; ! int curr_number, curr_min, curr_max; --- 5514,5518 ---- { CompressState state; ! long long curr_number, curr_min, curr_max; *************** *** 5662,5666 **** { /* Finished another number... Fold it into the ranges... */ ! slon_log(SLON_DEBUG4, "Finished number: %d\n", curr_number); /* --- 5662,5666 ---- { /* Finished another number... Fold it into the ranges... */ ! slon_log(SLON_DEBUG4, "Finished number: %lld\n", curr_number); /* *************** *** 5713,5726 **** if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %d\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%d' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %d %d\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%d' and '%d' ", curr_min, curr_max); } --- 5713,5726 ---- if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %lld\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%lld' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %lld %lld\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%lld' and '%lld' ", curr_min, curr_max); } *************** *** 5748,5761 **** if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %d\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%d' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %d %d\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%d' and '%d' ", curr_min, curr_max); } --- 5748,5761 ---- if (curr_max == curr_min) { ! slon_log(SLON_DEBUG4, "simple entry - %lld\n", curr_max); slon_appendquery(action_subquery, ! " log_actionseq <> '%lld' ", curr_max); } else { ! slon_log(SLON_DEBUG4, "between entry - %lld %lld\n", curr_min, curr_max); slon_appendquery(action_subquery, ! " log_actionseq not between '%lld' and '%lld' ", curr_min, curr_max); }
- Previous message: [Slony1-commit] slony1-engine/src/slon confoptions.c
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list