Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> 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
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to