Re: Checking for valid UUID values?

From: Imre Samu <pella(dot)samu(at)gmail(dot)com>
To: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Checking for valid UUID values?
Date: 2020-07-24 17:20:08
Message-ID: CAJnEWw=ozLGDJvd+KDsnCZW50CTbH0GBp_+kLnT=Cj99Aznceg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>
> 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

>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2020-07-24 18:41:57 Re: Checking for valid UUID values?
Previous Message Jeff Janes 2020-07-24 17:12:24 Re: Encryption in pg_dump