Re: Sequences part 2

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Sequences part 2
Date: 2019-07-02 11:25:36
Message-ID: 20190702112536.GB4305@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 order in the database. I.e. if I just add value to the table they end up, possibly due to how the application 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
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karl Martin Skoldebrand 2019-07-02 11:42:57 RE: Sequences part 2
Previous Message Karl Martin Skoldebrand 2019-07-02 11:20:42 RE: Sequences part 2