Re: [PATCH] Implement uuid_version()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Implement uuid_version()
Дата
Msg-id 7ac17303-ee5b-0266-29db-a3ce3baa5283@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [PATCH] Implement uuid_version()  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: [PATCH] Implement uuid_version()  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On 2019-07-13 08:08, Fabien COELHO wrote:
> About doc: I'd consider "generation" instead of "generating" as a 
> secondary index term.

We do use the "-ing" form for other secondary index terms.  It's useful
because the concatenation of primary and secondary term should usually
make a phrase of some sort.  The alternative would be "generation of",
but that doesn't seem clearly better.

>> (There is also precedent for redirecting the extension function to the
>> internal one by changing the SQL-level function definition using CREATE
>> OR REPLACE FUNCTION ... LANGUAGE INTERNAL.  But that seems more
>> complicated and would require a new extension version.  It could maybe
>> be included if the extension version is changed for other reasons.)
> 
> What about avoiding a redirection with something like:
> 
> Datum (* const pg_random_uuid)(PG_FUNCTION_ARGS) = gen_random_uuid;

That seems very confusing.

-- 
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)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: initdb recommendations