On Monday 28 April 2003 16:29, Magnus Naeslund(w) wrote: > Shridhar Daithankar said: > > In second case, postgresql typecasted it correctly. Even > > eans.id_iean=345::int8 would have worked the same way. By default > > postgresql > > treats a number as int4 while comparing and integer and float8 for a real > > numbe. I discovered that yesterday. > > > > Until the planner/parser gets smarter, this is going to be an FAQ.. > > > > Shridhar > > Is this an nontrivial change? > Because if it's trivial it should be done, imho. > I've been bitten indirectly of this, and it's not too easy to find out > always. I think that this is one of the most unobvious performance hickups > there are with postgresql. I would say dig into hackers archives for the consensus(??) reached.. I don't remember.. Shridhar
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера