Re: looking for a globally unique row ID

From: Rafal Pietrak <rafal(at)ztk-rp(dot)eu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: looking for a globally unique row ID
Date: 2017-09-18 19:59:08
Message-ID: afb35fa8-e6ca-5093-3d78-3ca18acedd2f@ztk-rp.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

W dniu 18.09.2017 o 17:26, Jehan-Guillaume (ioguix) de Rorthais pisze:
> On Sat, 16 Sep 2017 12:15:46 +0200
> Rafal Pietrak <rafal(at)ztk-rp(dot)eu> wrote:
>
>> W dniu 16.09.2017 o 09:33, Jehan-Guillaume de Rorthais pisze:

[-------------]
>
> About FK, just look at pgsql trigger code around real FK and adjust to your
> need by creating custom FK trigger either in plpgsql or C. IIRC, there's a
> contrib module doing FK as well, look at "contrib/spi/refint.c".
>
>

OK. I'll look into it, too. But the "discovery" of
pg_advisory_xact_lock() itself is a revelation for me :)

Thenx,

-R

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2017-09-18 20:51:53 Re: reload postgresql with invalid pg_hba.conf
Previous Message Tom Lane 2017-09-18 19:36:00 Re: reload postgresql with invalid pg_hba.conf