~ubuntu-branches/ubuntu/lucid/postgresql-8.4/lucid-proposed

« back to all changes in this revision

Viewing changes to src/test/regress/sql/int8.sql

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-12-10 15:53:42 UTC
  • mfrom: (1.3.9)
  • Revision ID: package-import@ubuntu.com-20121210155342-3scm68xcxel275jb
Tags: 8.4.15-0ubuntu10.04
* New upstream bug fix release: (LP: #1088393)
  - Fix multiple bugs associated with "CREATE INDEX CONCURRENTLY"
    Fix "CREATE INDEX CONCURRENTLY" to use in-place updates when
    changing the state of an index's pg_index row. This prevents race
    conditions that could cause concurrent sessions to miss updating
    the target index, thus resulting in corrupt concurrently-created
    indexes.
    Also, fix various other operations to ensure that they ignore
    invalid indexes resulting from a failed "CREATE INDEX CONCURRENTLY"
    command. The most important of these is "VACUUM", because an
    auto-vacuum could easily be launched on the table before corrective
    action can be taken to fix or remove the invalid index.
  - See HISTORY/changelog.gz for details about other bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
SELECT * FROM generate_series('+4567890123456789'::int8, '+4567890123456799'::int8);
191
191
SELECT * FROM generate_series('+4567890123456789'::int8, '+4567890123456799'::int8, 0);
192
192
SELECT * FROM generate_series('+4567890123456789'::int8, '+4567890123456799'::int8, 2);
 
193
 
 
194
-- check sane handling of INT64_MIN overflow cases
 
195
SELECT (-9223372036854775808)::int8 * (-1)::int8;
 
196
SELECT (-9223372036854775808)::int8 / (-1)::int8;
 
197
SELECT (-9223372036854775808)::int8 % (-1)::int8;
 
198
SELECT (-9223372036854775808)::int8 * (-1)::int4;
 
199
SELECT (-9223372036854775808)::int8 / (-1)::int4;
 
200
SELECT (-9223372036854775808)::int8 % (-1)::int4;
 
201
SELECT (-9223372036854775808)::int8 * (-1)::int2;
 
202
SELECT (-9223372036854775808)::int8 / (-1)::int2;
 
203
SELECT (-9223372036854775808)::int8 % (-1)::int2;