Re: BUG #1671: Long interval string representation rejected

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1671: Long interval string representation rejected
Date: 2005-05-24 16:23:25
Message-ID: 28864.1116951805@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Franklin Phan 2005-05-24 16:52:19 Ordinal 968 could not be located in the dynamic link library LIBEAY32.dll
Previous Message Haluk GUNCER 2005-05-24 16:11:12 BUG #1680: pw_shadow BUS ERROR when initdb called.