Re: Checking for valid UUID values?

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: Imre Samu <pella(dot)samu(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Checking for valid UUID values?
Date: 2020-07-24 18:41:57
Message-ID: CAOC+FBUnZHXuAh3p_56qsoOv5gtN5NTqiymcVzZ61tfYKv==+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bravo, thanks!

On Fri, Jul 24, 2020 at 10:20 AM Imre Samu <pella(dot)samu(at)gmail(dot)com> wrote:

> Which would essentially try/catch casting to UUID and returning NULL if
>> it's bad.
>>
>
> see: uuid_or_null() https://stackoverflow.com/a/46433640
>
> Best,
> Imre
>
>
>
>>

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message srini ram 2020-07-27 09:13:03 Issue in tablebackup
Previous Message Imre Samu 2020-07-24 17:20:08 Re: Checking for valid UUID values?