From: Sergei Kornilov <sk@zsrv.org>
To: kassai1972@gmail.com <kassai1972@gmail.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15100: sequence behavior on failed insert to a partitioned table
Date: Wed, 07 Mar 2018 14:42:51 +0300
Message-ID: <428781520422971@web24j.yandex.ru> (raw)
In-Reply-To: <152042217039.23129.15033816705467560566@wrigleys.postgresql.org>
References: <152042217039.23129.15033816705467560566@wrigleys.postgresql.org>
<div>Hello</div><div>This is not bug. Sequences are never rollback by design.</div><div> </div><div>https://www.postgresql.org/docs/current/static/sql-createsequence.html</div><div>> Because <code>nextval</code> and <code>setval</code> calls are never rolled back, sequence objects cannot be used if <span>“<span>gapless</span>”</span> assignment of sequence numbers is needed.</div><div> </div><div>regards, Sergei</div>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: sk@zsrv.org, kassai1972@gmail.com
Subject: Re: BUG #15100: sequence behavior on failed insert to a partitioned table
In-Reply-To: <428781520422971@web24j.yandex.ru>
References: <152042217039.23129.15033816705467560566@wrigleys.postgresql.org> <428781520422971@web24j.yandex.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox