Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group