]> granicus.if.org Git - postgresql/commitdiff
Update int8-exp-three-digits.out to match new contents of int8.out.
authorRobert Haas <rhaas@postgresql.org>
Sat, 20 Nov 2010 12:06:52 +0000 (07:06 -0500)
committerRobert Haas <rhaas@postgresql.org>
Sat, 20 Nov 2010 12:06:52 +0000 (07:06 -0500)
src/test/regress/expected/int8-exp-three-digits.out

index 62d975bce192ca9d42880eac13c8cfc639f04a35..2108d08d8704796a71481402d2082019ff539682 100644 (file)
@@ -802,3 +802,16 @@ SELECT * FROM generate_series('+4567890123456789'::int8, '+4567890123456799'::in
  4567890123456799
 (6 rows)
 
+-- corner case
+SELECT (-1::int8<<63)::text;
+         text         
+----------------------
+ -9223372036854775808
+(1 row)
+
+SELECT ((-1::int8<<63)+1)::text;
+         text         
+----------------------
+ -9223372036854775807
+(1 row)
+