Re: Transition Tables doesn´t have OID - Mailing list pgsql-general

From Achilleas Mantzios
Subject Re: Transition Tables doesn´t have OID
Date
Msg-id a357b49f-0219-2d15-eef1-3724fa302e2d@matrix.gatewaynet.com
Whole thread Raw
In response to Re: Transition Tables doesn´t have OID  (PegoraroF10 <marcos@f10.com.br>)
List pgsql-general
On 1/12/18 6:51 μ.μ., PegoraroF10 wrote:
> ok
> then, help me to find alternatives to it.
> As I sad, sometimes whe change our PK, so using OID would be a smart way to
> have a join between old and new transition tables and we would like to use
> transition tables because each statement is a lot faster than each row for
> auditing purposes.

Unique key with a sequence, which you'll have to leave alone.

>
> So, whats the alternative ? One trigger for each row just for changing PK
> values (will occur few times) and another trigger for each statement to do
> the logging ?
>
>
>
> --
> Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
>


pgsql-general by date:

Previous
From: Slavcho Trnkovski
Date:
Subject: Re: postgis after pg_upgrade
Next
From: Adrian Klaver
Date:
Subject: Re: Transition Tables doesn´t have OID