pgpool2.git / summary / log / commit / refs

commit    5f1029d3cac652419f5ffc813da496d88f44e31b
Author:   Yugo Nagata <nagata@sraoss.co.jp>
Date:     Fri May 16 09:53:16 2014 +0000

    Fix return type of text_to_lsn() function


src/streaming_replication/pool_worker_child.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/streaming_replication/pool_worker_child.c b/src/streaming_replication/pool_worker_child.c index faccb9890..142a5eb63 100644 --- a/src/streaming_replication/pool_worker_child.c +++ b/src/streaming_replication/pool_worker_child.c @@ -73,7 +73,7 @@ static volatile sig_atomic_t restart_request = 0; static void establish_persistent_connection(void); static void discard_persistent_connection(void); static void check_replication_time_lag(void); -static long text_to_lsn(char *text); +static unsigned long long int text_to_lsn(char *text); static RETSIGTYPE my_signal_handler(int sig); static RETSIGTYPE reload_config_handler(int sig); static void reload_config(void); @@ -379,7 +379,7 @@ static void check_replication_time_lag(void) /* * Convert logid/recoff style text to 64bit log location (LSN) */ -static long text_to_lsn(char *text) +static unsigned long long int text_to_lsn(char *text) { /* * WAL segment size in bytes. XXX We should fetch this from [parent: beffbcbf1811]