Re: [PATCH] Implement uuid_version()

Поиск
Список
Период
Сортировка
Искать
От
Jose Luis Tallon
Тема
Re: [PATCH] Implement uuid_version()
Дата
Msg-id
da5a8e33-28ce-a8c5-11bc-11bde7854415@adv-solutions.net
Ответ на
Список
Дерево обсуждения
[PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Implement uuid_version() David Fetter <david@fetter.org>
Re: [PATCH] Implement uuid_version() Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Implement uuid_version() Andres Freund <andres@anarazel.de>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Implement uuid_version() Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Ian Barwick <ian.barwick@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Peter Geoghegan <pg@bowt.ie>
Re: [PATCH] Implement uuid_version() Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Fabien COELHO <coelho@cri.ensmp.fr>
Re: [PATCH] Implement uuid_version() Jose Luis Tallon <jltallon@adv-solutions.net>
Re: [PATCH] Implement uuid_version() Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [PATCH] Implement uuid_version() Fabien COELHO <coelho@cri.ensmp.fr>
On 6/4/19 18:35, Tom Lane wrote:
> Jose Luis Tallon  writes:
>>       While working on an application, the need arose to be able
>> efficiently differentiate v4/v5 UUIDs (for use in partial indexes, among
>> others)
>> ... so please find attached a trivial patch which adds the
>> functionality.
> No particular objection...
>
>>       I'm not sure whether this actually would justify a version bump for
>> the OSSP-UUID extension
> Yes.  Basically, once we've shipped a given version of an extension's
> SQL script, that version is *frozen*.  Anything at all that you want
> to do to it has to be done in an extension update script, because
> otherwise there's no clean migration path for users.

Got it, and done. Please find attached a v2 patch with the upgrade 
script included.


Thank you for taking a look. Your time is much appreciated :)


     J.L.


В списке pgsql-hackers по дате отправления
От: Magnus Hagander
Дата:
Сообщение: Re: pg_rewind vs superuser
От: David Rowley
Дата:
FAQ