Re: Sequences part 2 - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Sequences part 2
Date
Msg-id 20190702112536.GB4305@hermes.hilbert.loc
Whole thread Raw
In response to RE: Sequences part 2  (Karl Martin Skoldebrand <KS0C77263@TechMahindra.com>)
Responses RE: Sequences part 2
List pgsql-general
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 table belongs to seems to rely on a specific
orderin the database. I.e. if I just add value to the table they end up, possibly due to how the application is coded
inan 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
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



pgsql-general by date:

Previous
From: Karl Martin Skoldebrand
Date:
Subject: RE: Sequences part 2
Next
From: Karl Martin Skoldebrand
Date:
Subject: RE: Sequences part 2