Re: numeric hierarchy again (was Re: floor function in 7.3b2)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: numeric hierarchy again (was Re: floor function in 7.3b2)
Дата
Msg-id 200210041745.g94Hjw426805@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: numeric hierarchy again (was Re: floor function in 7.3b2)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: numeric hierarchy again (was Re: floor function in 7.3b2)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Threaded Sorting
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CURRENT_TIMESTAMP