Re: [PATCH] Implement uuid_version()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Implement uuid_version()
Дата
Msg-id f30c2b5e-510e-776c-8216-1a4c42ee06e3@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [PATCH] Implement uuid_version()  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: [PATCH] Implement uuid_version()  (Ian Barwick <ian.barwick@2ndquadrant.com>)
Список pgsql-hackers
On 2019-07-13 17:13, Fabien COELHO wrote:
>>> What about avoiding a redirection with something like:
>>>
>>> Datum (* const pg_random_uuid)(PG_FUNCTION_ARGS) = gen_random_uuid;
>>
>> That seems very confusing.
> 
> Dunno. Possibly. The user does not have to look at the implementation, and 
> probably such code would deserve a comment.
> 
> The point is to avoid one call so as to perform the same (otherwise the 
> pg_random_uuid would be slightly slower), and to ensure that it behaves 
> the same, as it would be the very same function by construction.
> 
> I've switched the patch to ready anyway.

committed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)
Следующее
От: Joe Conway
Дата:
Сообщение: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)