Re: When is an explicit cast necessary?
От | Alan Millington |
---|---|
Тема | Re: When is an explicit cast necessary? |
Дата | |
Msg-id | 998289.88719.qm@web25402.mail.ukl.yahoo.com обсуждение исходный текст |
Ответ на | Re: When is an explicit cast necessary? (Greg Smith <greg@2ndquadrant.com>) |
Ответы |
Re: When is an explicit cast necessary?
Re: When is an explicit cast necessary? |
Список | pgsql-general |
Thank you for that helpful information. I thought I was going mad! It would never have occurred to me to write a join which relied on an implicit cast between int and string. However, every language that I have ever used will implicitly convert an integer 1 to a smallint (or short) 1 when required to do so. How can such a cast be called "surprising behaviour", or produce "misleading results", to quote the first article? --- On Fri, 9/4/10, Greg Smith <greg@2ndquadrant.com> wrote:
|
В списке pgsql-general по дате отправления: