From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Neil Conway <neilc(at)samurai(dot)com>, Mario Weilguni <mario(dot)weilguni(at)icomedias(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: numeric hierarchy again (was Re: floor function in 7.3b2) |
Date: | 2002-10-04 17:45:58 |
Message-ID: | 200210041745.g94Hjw426805@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Do we know that defaulting floating constants will not be a performance
> > hit?
>
> Uh ... what's your concern exactly? The datatype coercion (if any) will
> happen once at parse time, not at runtime.
Yes, I realize it is during parsing. I was just wondering if making
constants coming in from the parser NUMERIC is a performance hit? I see
in gram.y that FCONST comes in as a Float so I don't even see were we
make it NUMERIC.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-10-04 17:48:44 | Re: CURRENT_TIMESTAMP |
Previous Message | Justin Clift | 2002-10-04 17:35:19 | Re: Threaded Sorting |