From: DrakoRod <drakoflames@hotmail.com>
To: pgsql-general@postgresql.org
Subject: Table Partitioning: Sequence jump issue 10 in 10 with serial datatype
Date: Tue, 13 Feb 2018 17:27:06 -0700 (MST)
Message-ID: <1518568026195-0.post@n3.nabble.com> (raw)
Hi folks!!
I have a problem with a serial data type and partitioned table, I used rules
to insert in child tables. But the problem is that the some does'nt insert
and the sequence value jump sometimes 3 in 3 or 10 in 10.
The example is the next:
I don't understand why sequence jumps in this case 4 in 4. And how to avoid
this? I really can't change the use serial data type and how generate the
id, because I don't developed the app.
If I use triggers this don't happen?
Thanks!
-----
Dame un poco de fe, eso me bastarĂ¡.
Rozvo Ware Solutions
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
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-general@postgresql.org
Cc: drakoflames@hotmail.com
Subject: Re: Table Partitioning: Sequence jump issue 10 in 10 with serial datatype
In-Reply-To: <1518568026195-0.post@n3.nabble.com>
References: <1518568026195-0.post@n3.nabble.com>
* 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