Skip site navigation (1) Skip section navigation (2)

Re: BUG #1272: text + numeric wrong behaviour

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Damjan Pipan" <damjan(dot)pipan(at)xlab(dot)si>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1272: text + numeric wrong behaviour
Date: 2004-09-29 15:37:36
Message-ID: 29449.1096472256@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> first select does not return amount, second does.

Huh?  I get

regression=# SELECT * FROM a1;
 description | amount
-------------+--------
 asdasd      | 370.00
(1 row)

regression=# SELECT description::varchar, amount FROM a1;
 description | amount
-------------+--------
 asdasd      | 370.00
(1 row)

on both 7.3 and current ...

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Damjan PipanDate: 2004-09-29 16:11:32
Subject: Re: BUG #1272: text + numeric wrong behaviour
Previous:From: Stephan SzaboDate: 2004-09-29 14:54:29
Subject: Re: BUG #1266: Improper unique constraint / MVCCactivitieswithin

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group