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

Re: BUG #1671: Long interval string representation rejected

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mark Dilger <markdilger(at)yahoo(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1671: Long interval string representation rejected
Date: 2005-05-25 02:01:20
Message-ID: 4293DC70.8060508@samurai.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane wrote:
> Considering that you're incrementing bufptr inside the macro, it hardly
> seems that double-evaluation is a problem: the argument pretty much has
> to be a variable.  OTOH there is no reason for the input argument to be
> treated that way.  I'd suggest just one macro [...]

Ah, yeah, that works. Attached is a revised patch -- I'll apply it 
tomorrow barring any objections. I also fixed the semi-colon -- thanks 
for the review.

-Neil

Attachment: datetime_parsing-4.patch
Description: text/x-patch (19.4 KB)

In response to

Responses

pgsql-bugs by date

Next:From: John HansenDate: 2005-05-25 04:58:09
Subject: Re: BUG #1678: pw_shadow BUS ERROR
Previous:From: Neil ConwayDate: 2005-05-25 00:28:35
Subject: Re: BUG #1678: pw_shadow BUS ERROR

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