Re: Transition Tables doesn´t have OID

Поиск
Список
Период
Сортировка
От Achilleas Mantzios
Тема Re: Transition Tables doesn´t have OID
Дата
Msg-id a357b49f-0219-2d15-eef1-3724fa302e2d@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на Re: Transition Tables doesn´t have OID  (PegoraroF10 <marcos@f10.com.br>)
Список 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 по дате отправления:

Предыдущее
От: Slavcho Trnkovski
Дата:
Сообщение: Re: postgis after pg_upgrade
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Transition Tables doesn´t have OID