Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiGuy-00025c-2Y for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2019 11:25:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hiGuw-0003GT-Vn for pgsql-general@arkaria.postgresql.org; Tue, 02 Jul 2019 11:25:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiGuw-0003CG-Fs for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 11:25:46 +0000 Received: from mout.gmx.net ([212.227.17.22]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hiGuu-0003Fx-JV for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 11:25:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562066738; bh=leqzXKFMv6b3oUtYx3bcqKlImZo9sFOeh/tl6fKUUKI=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=Y0w2H+UQiVvXavlzlxuaaVEhcSLLGYqv2G1BL4kPWyvxUmLnkNQcBxCeNV7MaU13b EBQ+i/0X/vCMvGVRjqG45clSboD7s822kQbY8EcMbvV1cDs2dGldPwH4JvXSVBrNbe Y2d5R/wT4iOHk9atZ/pM3aAIR2pzz/w8yF2PYttk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermes ([77.11.53.218]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MulmF-1iYRnO2m0J-00rs7v for ; Tue, 02 Jul 2019 13:25:38 +0200 Received: from ncq by hermes with local (Exim 4.92) (envelope-from ) id 1hiGum-0005Un-R8 for pgsql-general@lists.postgresql.org; Tue, 02 Jul 2019 13:25:36 +0200 Date: Tue, 2 Jul 2019 13:25:36 +0200 From: Karsten Hilbert To: pgsql-general@lists.postgresql.org Subject: Re: Sequences part 2 Message-ID: <20190702112536.GB4305@hermes.hilbert.loc> References: <4f61207408b84e9f8e6f36f1476f928d@UKEXCHMBX003.TechMahindra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f61207408b84e9f8e6f36f1476f928d@UKEXCHMBX003.TechMahindra.com> Ma_X_il-Followup-to: d Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net X-Pri_X_ority: 2 (High) User-Agent: Mutt/1.10.1 (2018-07-13) Sender: X-Provags-ID: V03:K1:ctwtpZ/AO/+eKP4A1hDzKkuSE/a93UJz0RCnz1m/lfs4xXn4cVC 3ryvshDYpMRD11g/Ld9FUeT0gaSzB6ikHIhiywPNOgZ3Zt43JEw9H4BMzWuUWS/2KkM5X9N MVm27j7hbhAjCeL5IhNi9DZg8eGHHvLcKY4wMrZZ264W0Roscx+U5WglDOnidDD3yrkzGQQ rEOITfjuZ1Qdrw2nArnDA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:OH6LhEBqS/Q=:dYXasDhRFIBprvmULrs8Ci 0OY5bfehTX4LX4TMg+e/eXbGZHJb+OY6xqdQ3bW1NPwtc/MavYy+UhOBcrXEyDJ2UD4BdpWHK tsheUAH7Vtxyv8lbRThbb6IqLgUIXVPdMdyip59PeW+Df1Ywox8XA0KEUgVLjrzidqs42XOaY Y5GAmVKa+qYFDMlz9AizehEq8yauHSDiFxJ+biYyS0Ap3pMX6XZWq12fzM2HwcjhlV+WFJ3kH yU8y+JPrPfX8rgG/1RSazbEq04DEivqlvwq5aIJqDlWVgkWUIITkzK3wJ1Z4gTO8rgr0k5ipd nT4UP8zgv44AJvF9YKQAty0Jr+Uy2T9Q5ZApjq0Vls6pEI2SciSbE6sBTbLx6Ly3jCxOZmKAc Y2PQ0iOWsn6YE893em/PEfVBy0Fp9QjCU7SzNhmFUyacXKnqVBrUeeRA0qh9LYtB/T9sdouMo LFOs5dvcKeCZSc5trm/hE0YY8Nr2zr+iDB9JmZ1Yn+MF4OlT5KItcG9ZSpMk/SjWZnJwjvLZ1 qvhst0ABYsovKYNbJypVNi6H5YWttj2HvVcQJE395X5qGvY+y2YLHvBjBgitLtOI8oGykxbPB oDMCO5y3fNzPq+U3u+FyIBW6mPwMF/p/xfqdPRB1WUExCSASFWZlKQ99LxB4ZR7SmRGLzCSU9 F0dZwXEx95bNHobiiASIkqqm0OizVIqUufbT3MwNNmUq3hOoK5PUphVpTzakaRbvC+tbh0NBe pNohO0GOJyLtnzKKYO3k6UksKBOkEVZVcPXV3UI8anZnHsX0WJ+XpRkZKeTXyrAauPC7685x4 CSu9yqwRVtmoVxKqeDv1Eg6wyk0j8m+DSUB5a9kTHyrVMx650Kqzjvmx3gUFtU3GgzV73lci8 NCbkFKCyE+BsJ2DNtnT4G6KNg/YARDI0AgQBn69uPaP6HbVl1JZsa7wc1XtDe4kWWrh9taVBO Dpa7GVPU4fwRO9WlLigfjgRVBdsozJBAwn9M6zzkpa9BkhAC/wUUNuv5iyKgQbERxKHiowujW xTzXVtBSSfFSvP9HjTqpkoS+s4zYUlKINelEfSRuUlSGLYNvbTywfnZF6iD6aKyeFR1cJmuu2 1nD4hV8HTwQOt4= Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Jul 02, 2019 at 11:20:42AM +0000, Karl Martin Skoldebrand wrote: > Yes, I'm fairly aware of this. However the application the database tabl= e belongs to seems to rely on a specific order in the database. I.e. if I = just add value to the table they end up, possibly due to how the applicati= on is coded in an undesireable spot on the web page. > That is why I wanted them to be inserted with the previous records. rename the table install a view with the name of the table and appropriate triggers and/or rules between app and database enforcing whatever questionable assumptions the app thinks it needs -- if at all logically possible Karsten =2D- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B