Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elkur-0008Rh-VN for pgsql-general@arkaria.postgresql.org; Wed, 14 Feb 2018 00:27:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elkuq-0005tk-Rh for pgsql-general@arkaria.postgresql.org; Wed, 14 Feb 2018 00:27:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1elkuq-0005sw-H2 for pgsql-general@lists.postgresql.org; Wed, 14 Feb 2018 00:27:16 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1elkui-0001YA-4m for pgsql-general@postgresql.org; Wed, 14 Feb 2018 00:27:14 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 3078EB242442 for ; Tue, 13 Feb 2018 17:27:06 -0700 (MST) Date: Tue, 13 Feb 2018 17:27:06 -0700 (MST) From: DrakoRod To: pgsql-general@postgresql.org Message-ID: <1518568026195-0.post@n3.nabble.com> Subject: Table Partitioning: Sequence jump issue 10 in 10 with serial datatype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi folks!! I have a problem with a serial data type and partitioned table, I used rule= s 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.=20 The example is the next:=20 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?=20 Thanks! ----- Dame un poco de fe, eso me bastar=C3=A1. Rozvo Ware Solutions=20 -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.ht= ml