dbTalk Databases Forums  

Re: [ADMIN] When I executed type cast functions. The postgresnormal concatenation operator query was breaking.

mailing.database.pgsql-admin mailing.database.pgsql-admin


Discuss Re: [ADMIN] When I executed type cast functions. The postgresnormal concatenation operator query was breaking. in the mailing.database.pgsql-admin forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin Grittner
 
Posts: n/a

Default Re: [ADMIN] When I executed type cast functions. The postgresnormal concatenation operator query was breaking. - 08-20-2012 , 11:08 AM






"Saravanakumar Ramasamy" <rsk (AT) zoniac (DOT) com> wrote:

Quote:
Now I am using postgres 9.1.3 version . Before I am used 8.2.22

ERROR: function to_number(unknown, numeric) does not exist

HINT: No function matches the given name and argument types. You
might need to add explicit type casts.

I found solution. That solution is 13 implicit type cast. When I
executed type cast functions [concatenations started breaking]

ERROR: operator is not unique: numeric || unknown

HINT: Could not choose a best candidate operator. You might need
to add explicit type casts.
This was also posted on StackOverflow:

http://stackoverflow.com/questions/1...ation-operator

The accepted solution there was basically to drop the 13 implicit
casts which were added in an attempt to maintain pre-8.3 behavior,
and to change code which counted on the implicit casts which were
eliminated in 8.3.

-Kevin


--
Sent via pgsql-admin mailing list (pgsql-admin (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.