From: Adrian Klaver <adrian.klaver@aklaver.com>
To: jesusthefrog <jesusthefrog@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: gen_random_uuid key collision
Date: Thu, 2 Sep 2021 17:05:26 -0700
Message-ID: <2972999b-cd4b-c889-74f8-fb8a96413707@aklaver.com> (raw)
In-Reply-To: <CAH_wARuTOGRY42DDtSw87y=q85eZq=j+mGjG53B6LUhxAXrnYQ@mail.gmail.com>
References: <CAH_wARuGPc6xDLGLo4U1=gvuKvnKO3NVjwzkFef5sPETQ9-Hcg@mail.gmail.com>
<a453d48d-0f98-8ed6-df47-9c94749ac632@aklaver.com>
<CAH_wARuTOGRY42DDtSw87y=q85eZq=j+mGjG53B6LUhxAXrnYQ@mail.gmail.com>
On 9/2/21 4:38 PM, jesusthefrog wrote:
> On Thu, Sep 2, 2021 at 7:35 PM Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> What is the table schema as returned by \d <table> in psql?
>
>
> The tables are in various schemas; that one is in one called
But only one is generating errors. Schema refers to an object's
definition as well as a namespace. So what does:
\d <table>
return?
> "access_control", but we always set the search path explicitly to (in
> this case) "access_control, public".
> Anyway, if if were a problem with finding the function, I would be
> seeing a different error .The function successfully runs, it is just
> (apparently) occasionally generating the same UUID multiple times.
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GIT d- s+ a- C++++ L+++ S++ B+ P++>++++ E++ W+++
> N o? K- !w++++ O- M- V? PS++ PE- Y+ PGP t+ 5+++
> X R+ tv b+++ DI++ D++ G+ e-- h- r++ y
> ------END GEEK CODE BLOCK------
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, jesusthefrog@gmail.com
Subject: Re: gen_random_uuid key collision
In-Reply-To: <2972999b-cd4b-c889-74f8-fb8a96413707@aklaver.com>
References: <CAH_wARuGPc6xDLGLo4U1=gvuKvnKO3NVjwzkFef5sPETQ9-Hcg@mail.gmail.com> <a453d48d-0f98-8ed6-df47-9c94749ac632@aklaver.com> <CAH_wARuTOGRY42DDtSw87y=q85eZq=j+mGjG53B6LUhxAXrnYQ@mail.gmail.com> <2972999b-cd4b-c889-74f8-fb8a96413707@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox