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 Bugs > Inconsistent **...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 3714 of 3899
Post > Topic >>

Inconsistent ****ft operator

by kononov@[EMAIL PROTECTED] (Roman Kononov) Apr 19, 2008 at 01:25 AM

The below test cases show the obvious inconsistency between different 
integer types.

Regards,

Roman

test=# \t
Showing only tuples.
test=# select 1::int2 << 17;
         0

test=# select 1::int4 << 33;
         2

test=# select 1::int8 << 65;
         2

test=# select 2::int2 >> 17;
         0

test=# select 2::int4 >> 33;
         1

test=# select 2::int8 >> 65;
         1

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




 6 Posts in Topic:
Inconsistent ****ft operator
kononov@[EMAIL PROTECTED]  2008-04-19 01:25:25 
Re: Inconsistent ****ft operator
tgl@[EMAIL PROTECTED] (T  2008-04-19 11:26:57 
Re: Inconsistent ****ft operator
sam@[EMAIL PROTECTED] (S  2008-04-20 14:38:42 
Re: Inconsistent ****ft operator
tgl@[EMAIL PROTECTED] (T  2008-04-20 12:27:38 
Re: Inconsistent ****ft operator
peter_e@[EMAIL PROTECTED]  2008-04-20 19:08:00 
Re: Inconsistent ****ft operator
sam@[EMAIL PROTECTED] (S  2008-04-20 19:58:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Sun Jul 6 17:47:45 CDT 2008.