Re: BUG #1671: Long interval string representation rejected - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1671: Long interval string representation rejected
Date
Msg-id 28864.1116951805@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1671: Long interval string representation rejected  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I wrote:
> #define APPEND_CHAR(bufptr, end, newchar) \
>     do \
>     { \
>         if (((bufptr) + 1) >= (end)) \
>             return DTERR_BAD_FORMAT; \
>         *(bufptr)++ = (newchar); \
>     } while (0);

Oh BTW, there definitely should not be a semicolon at the end
of that macro ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Haluk GUNCER"
Date:
Subject: BUG #1679: Error while compiling (linking), finite, Unsatisfied symbols
Next
From: Franklin Phan
Date:
Subject: Ordinal 968 could not be located in the dynamic link library LIBEAY32.dll