mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix double-word typos
Discussion: https://postgr.es/m/20190612184527.GA24266@alvherre.pgsql Reviewed-by: Michaël Paquier
This commit is contained in:
@ -246,7 +246,7 @@ test_pattern(const test_spec *spec)
|
||||
* last integer that we added to the set, plus an arbitrary constant
|
||||
* (1000). There's no point in probing the whole 0 - 2^64 range, if
|
||||
* only a small part of the integer space is used. We would very
|
||||
* rarely hit hit values that are actually in the set.
|
||||
* rarely hit values that are actually in the set.
|
||||
*/
|
||||
x = (pg_lrand48() << 31) | pg_lrand48();
|
||||
x = x % (last_int + 1000);
|
||||
@ -337,8 +337,8 @@ test_single_value(uint64 value)
|
||||
elog(ERROR, "intset_num_entries returned " UINT64_FORMAT ", expected 1", num_entries);
|
||||
|
||||
/*
|
||||
* Test intset_is_member() at various special values, like 0 and and
|
||||
* maximum possible 64-bit integer, as well as the value itself.
|
||||
* Test intset_is_member() at various special values, like 0 and maximum
|
||||
* possible 64-bit integer, as well as the value itself.
|
||||
*/
|
||||
if (intset_is_member(intset, 0) != (value == 0))
|
||||
elog(ERROR, "intset_is_member failed for 0");
|
||||
|
@ -185,7 +185,7 @@ $monitor_stderr = '';
|
||||
|
||||
|
||||
# kill with SIGKILL this time - we expect the backend to exit, without
|
||||
# being able to emit an error error message
|
||||
# being able to emit an error message
|
||||
$ret = TestLib::system_log('pg_ctl', 'kill', 'KILL', $pid);
|
||||
is($ret, 0, "killed process with KILL");
|
||||
|
||||
|
@ -69,7 +69,7 @@ SET enable_bitmapscan = OFF;
|
||||
CREATE TEMP TABLE quad_poly_tbl_ord_seq2 AS
|
||||
SELECT rank() OVER (ORDER BY p <-> point '123,456') n, p <-> point '123,456' dist, id
|
||||
FROM quad_poly_tbl WHERE p <@ polygon '((300,300),(400,600),(600,500),(700,200))';
|
||||
-- check results results from index scan
|
||||
-- check results from index scan
|
||||
SET enable_seqscan = OFF;
|
||||
SET enable_indexscan = OFF;
|
||||
SET enable_bitmapscan = ON;
|
||||
|
@ -66,7 +66,7 @@ CREATE TEMP TABLE quad_poly_tbl_ord_seq2 AS
|
||||
SELECT rank() OVER (ORDER BY p <-> point '123,456') n, p <-> point '123,456' dist, id
|
||||
FROM quad_poly_tbl WHERE p <@ polygon '((300,300),(400,600),(600,500),(700,200))';
|
||||
|
||||
-- check results results from index scan
|
||||
-- check results from index scan
|
||||
SET enable_seqscan = OFF;
|
||||
SET enable_indexscan = OFF;
|
||||
SET enable_bitmapscan = ON;
|
||||
|
Reference in New Issue
Block a user