mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Revert "Don't select log_cnt in sequence regression tests."
This reverts commit addf11f9a2
.
The right fix for the problem is to update the alternative expected
file, not to lobotomize the test case.
This commit is contained in:
@ -172,11 +172,10 @@ DROP SEQUENCE sequence_test;
|
|||||||
-- renaming sequences
|
-- renaming sequences
|
||||||
CREATE SEQUENCE foo_seq;
|
CREATE SEQUENCE foo_seq;
|
||||||
ALTER TABLE foo_seq RENAME TO foo_seq_new;
|
ALTER TABLE foo_seq RENAME TO foo_seq_new;
|
||||||
SELECT sequence_name, last_value, start_value, increment_by, max_value,
|
SELECT * FROM foo_seq_new;
|
||||||
min_value, cache_value, is_cycled, is_called FROM foo_seq_new;
|
sequence_name | last_value | start_value | increment_by | max_value | min_value | cache_value | log_cnt | is_cycled | is_called
|
||||||
sequence_name | last_value | start_value | increment_by | max_value | min_value | cache_value | is_cycled | is_called
|
---------------+------------+-------------+--------------+---------------------+-----------+-------------+---------+-----------+-----------
|
||||||
---------------+------------+-------------+--------------+---------------------+-----------+-------------+-----------+-----------
|
foo_seq | 1 | 1 | 1 | 9223372036854775807 | 1 | 1 | 1 | f | f
|
||||||
foo_seq | 1 | 1 | 1 | 9223372036854775807 | 1 | 1 | f | f
|
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
SELECT nextval('foo_seq_new');
|
SELECT nextval('foo_seq_new');
|
||||||
@ -191,11 +190,10 @@ SELECT nextval('foo_seq_new');
|
|||||||
2
|
2
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
SELECT sequence_name, last_value, start_value, increment_by, max_value,
|
SELECT * FROM foo_seq_new;
|
||||||
min_value, cache_value, is_cycled, is_called FROM foo_seq_new;
|
sequence_name | last_value | start_value | increment_by | max_value | min_value | cache_value | log_cnt | is_cycled | is_called
|
||||||
sequence_name | last_value | start_value | increment_by | max_value | min_value | cache_value | is_cycled | is_called
|
---------------+------------+-------------+--------------+---------------------+-----------+-------------+---------+-----------+-----------
|
||||||
---------------+------------+-------------+--------------+---------------------+-----------+-------------+-----------+-----------
|
foo_seq | 2 | 1 | 1 | 9223372036854775807 | 1 | 1 | 32 | f | t
|
||||||
foo_seq | 2 | 1 | 1 | 9223372036854775807 | 1 | 1 | f | t
|
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
DROP SEQUENCE foo_seq_new;
|
DROP SEQUENCE foo_seq_new;
|
||||||
|
@ -78,12 +78,10 @@ DROP SEQUENCE sequence_test;
|
|||||||
-- renaming sequences
|
-- renaming sequences
|
||||||
CREATE SEQUENCE foo_seq;
|
CREATE SEQUENCE foo_seq;
|
||||||
ALTER TABLE foo_seq RENAME TO foo_seq_new;
|
ALTER TABLE foo_seq RENAME TO foo_seq_new;
|
||||||
SELECT sequence_name, last_value, start_value, increment_by, max_value,
|
SELECT * FROM foo_seq_new;
|
||||||
min_value, cache_value, is_cycled, is_called FROM foo_seq_new;
|
|
||||||
SELECT nextval('foo_seq_new');
|
SELECT nextval('foo_seq_new');
|
||||||
SELECT nextval('foo_seq_new');
|
SELECT nextval('foo_seq_new');
|
||||||
SELECT sequence_name, last_value, start_value, increment_by, max_value,
|
SELECT * FROM foo_seq_new;
|
||||||
min_value, cache_value, is_cycled, is_called FROM foo_seq_new;
|
|
||||||
DROP SEQUENCE foo_seq_new;
|
DROP SEQUENCE foo_seq_new;
|
||||||
|
|
||||||
-- renaming serial sequences
|
-- renaming serial sequences
|
||||||
|
Reference in New Issue
Block a user