Skip to content

Postgres Serial primary key #193

Locked Answered by serge-rider
thiagofernando asked this question in Q&A
Discussion options

You must be logged in to vote

This is the default PostgreSQL behavior. It increases sequence value on every attempt of insert. And I can't change this behavior from DBeaver.
You could try to work in transactional mode (just disable auto-commit mode in main toolbar) and rollback after error.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kseniiaguzeeva
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #193 on December 28, 2020 09:05.