Re: double and numeric conversion

From: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
To: PostgreSQL-development Development <pgsql-hackers(at)postgresql(dot)org>
Cc: Theo Schlossnagle <jesus(at)omniti(dot)com>, Yeb Havinga <yebhavinga(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: double and numeric conversion
Date: 2010-03-03 20:37:08
Message-ID: D33DC24F-9C7D-440B-B55C-A519CD1F3342@pointblue.com.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 3 Mar 2010, at 17:41, Grzegorz Jaskiewicz wrote:

> if (p1 > buf)
> ++ * --p1;
> else {
>
> ....
>
>
> ++ * --p1; ???
>
> does it even compile ?

Oh, I can see, that it is *(--p1)++ ,mea culpa.

Which doesn't change the fact, that the code is rather messy imo.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-03-03 22:30:01 Re: [GENERAL] to_timestamp() and quartersf
Previous Message Grzegorz Jaskiewicz 2010-03-03 17:41:05 Re: double and numeric conversion