Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > String concat i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 15307 of 17602
Post > Topic >>

String concat issues in 8.3.1 (8.3.1 bug?)

by kevin@[EMAIL PROTECTED] (kevin kempter) Apr 17, 2008 at 03:05 AM

I have a table as follows:

\d test_dim
                      Table "public.test_dim"
      Column      |            Type             |       Modifiers
-----------------+-----------------------------+------------------------
  customer_srcid  | bigint                      | not null
  segment_srcid      | bigint                      | not null
  show_name       | character varying(500)      | not null
  create_dt       | timestamp without time zone | not null default now()


I have this table in a db on an 8.2.6 cluster and in another db on an  
8.3.1 cluster.

In both clusters I can do the following:


# select customer_srcid,  segment_srcid from test_dim;
  customer_srcid | segment_srcid
----------------+---------------
               1 |             1
               1 |             2
               1 |             3
               1 |
               1 |
               1 |
               1 |             1
               1 |             2
               1 |             3
               1 |
               1 |
               1 |
               1 |             1
               1 |             2
               1 |             3
               1 |
               1 |
               1 |
               1 |             1
               1 |             2
               1 |             3
               1 |
               1 |
               1 |
(24 rows)



In version 8.2.6 I can do this:

# select customer_srcid || segment_srcid from test_dim;
  ?column?
----------
  11
  12
  13



  11
  12
  13



  11
  12
  13



  11
  12
  13



(24 rows)




However in the 8.3.1 cluster I get this (Both clusters have the same  
data set - via a pg_dump):

# select customer_srcid || segment_srcid from test_dim;
ERROR:  operator does not exist: bigint || bigint
LINE 1: select customer_srcid || segment_srcid from sl_segment_dim;
                               ^
HINT:  No operator matches the given name and argument type(s). You  
might need to add explicit type casts.




Thoughts ?



Thanks in advance


/Kevin




-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 3 Posts in Topic:
String concat issues in 8.3.1 (8.3.1 bug?)
kevin@[EMAIL PROTECTED]   2008-04-17 03:05:14 
Re: String concat issues in 8.3.1 (8.3.1 bug?)
dev@[EMAIL PROTECTED] (R  2008-04-17 10:12:22 
Re: String concat issues in 8.3.1 (8.3.1 bug?)
andreas.kretschmer@[EMAIL  2008-04-17 11:13:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:00:55 CST 2008.