Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
22434dd0
Commit
22434dd0
authored
Dec 22, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sequence_1.out for recent changes
parent
909cb78a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
6 deletions
+27
-6
src/test/regress/expected/sequence_1.out
src/test/regress/expected/sequence_1.out
+27
-6
No files found.
src/test/regress/expected/sequence_1.out
View file @
22434dd0
...
...
@@ -173,9 +173,9 @@ DROP SEQUENCE sequence_test;
CREATE SEQUENCE foo_seq;
ALTER TABLE foo_seq RENAME TO foo_seq_new;
SELECT * FROM foo_seq_new;
sequence_name | last_value | start_value | increment_by | max_value | min_value | cache_value | log_cnt | is_cycled
| is_called
------------
---+------------+-------------+--------------+---------------------+-----------+-------------+---------+--
---------+-----------
foo_seq | 1 | 1 | 1 | 9223372036854775807 | 1 | 1 | 0 | f
| f
last_value | log_cnt
| is_called
------------
+
---------+-----------
1 | 0
| f
(1
row)
SELECT nextval('foo_seq_new');
...
...
@@ -191,9 +191,9 @@ SELECT nextval('foo_seq_new');
(1
row)
SELECT * FROM foo_seq_new;
sequence_name | last_value | start_value | increment_by | max_value | min_value | cache_value | log_cnt | is_cycled
| is_called
------------
---+------------+-------------+--------------+---------------------+-----------+-------------+---------+--
---------+-----------
foo_seq | 2 | 1 | 1 | 9223372036854775807 | 1 | 1 | 32 | f
| t
last_value | log_cnt
| is_called
------------
+
---------+-----------
2 | 32
| t
(1
row)
DROP SEQUENCE foo_seq_new;
...
...
@@ -536,3 +536,24 @@ SELECT * FROM information_schema.sequences WHERE sequence_name IN
DROP USER regress_seq_user;
DROP SEQUENCE seq;
-- cache tests
CREATE SEQUENCE test_seq1 CACHE 10;
SELECT nextval('test_seq1');
nextval
---------
1
(1
row)
SELECT nextval('test_seq1');
nextval
---------
2
(1
row)
SELECT nextval('test_seq1');
nextval
---------
3
(1
row)
DROP SEQUENCE test_seq1;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment