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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
datetime_parsing-4.patch text/x-patch 19.4 KB

In response to

Responses

Browse pgsql-bugs by date

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