Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1edlvI-0004wL-NZ for pgsql-general@arkaria.postgresql.org; Mon, 22 Jan 2018 23:54:44 +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 1edlvI-0007gJ-9n for pgsql-general@arkaria.postgresql.org; Mon, 22 Jan 2018 23:54:44 +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 1edlvH-0007g9-VG for pgsql-general@lists.postgresql.org; Mon, 22 Jan 2018 23:54:44 +0000 Received: from aart.rice.edu ([168.7.56.48]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1edlvA-0004vP-RH for pgsql-general@postgresql.org; Mon, 22 Jan 2018 23:54:42 +0000 Received: by aart.rice.edu (Postfix, from userid 18612) id 3E53A427F2A2; Mon, 22 Jan 2018 17:54:36 -0600 (CST) Date: Mon, 22 Jan 2018 17:54:36 -0600 From: Kenneth Marshall To: "David G. Johnston" Cc: Michael =?iso-8859-1?Q?Kr=FCger?= , Adrian Klaver , pgsql-general Subject: Re: Slow alter sequence with PG10.1 Message-ID: <20180122235436.GG14587@aart.rice.edu> References: <2ab64bf6-b3e3-3ae9-8c69-0eb58ebca3c1@aklaver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Jan 22, 2018 at 04:40:54PM -0700, David G. Johnston wrote: > > > I guess - the reason I'm a bit disappointed from the new behavior is that > > we have used Postgresql for more than 10 years and it has never let us > > down. We have been able to improve our product with every new release of > > Postgres. This is the first time for me that a new release of Postgres > > caused some severe headaches among our customers. > > > > OK...but I am not surprised as to how this played out. The system doesn't > expect ALTER SEQUENCE to be executed frequently and your example doesn't > argue for it since setval is indeed provided and can handle the situation > where you wish to skip to some other sequence number for subsequent calls. > > Disruption of existing code is unavoidable since two of the goals of this > project are innovation and stability. That your customers discovered this > particular instance of disruption is more on you than the project - major > upgrades, especially the first few patch releases, don't end up seeing a > wide variety of unusual setups (like this one) until they hit production > since, as it seems here, people with those unusual setups are not putting > it through its paces during the beta release period. > > David J. Hi, I am not trying to be snarky, but it really behooves users to test their systems with a new release before moving to it and not let their unwitting customers be their debug team. :( Regards, Ken