From: Sebastian Harl Date: Tue, 30 Oct 2012 07:03:28 +0000 (+0100) Subject: RRTimeslice: Quote the lower/upper bounds in the range output. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d55ee0b5c9e698724cc1048849542ca7fbd13d52;p=postrr.git RRTimeslice: Quote the lower/upper bounds in the range output. --- diff --git a/src/rrtimeslice.c b/src/rrtimeslice.c index 6c135ec..25e9cb3 100644 --- a/src/rrtimeslice.c +++ b/src/rrtimeslice.c @@ -377,7 +377,7 @@ rrtimeslice_out(PG_FUNCTION_ARGS) buf_l[sizeof(buf_l) - 1] = '\0'; } - snprintf(ts_str, sizeof(ts_str), "(%s, %s] #%i/%i", + snprintf(ts_str, sizeof(ts_str), "(\"%s\", \"%s\"] #%i/%i", buf_l, buf_u, tslice->seq, num); result = pstrdup(ts_str);