Re: uniqueidentifier datatype for 7.3.X

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: uniqueidentifier datatype for 7.3.X
Дата
Msg-id 22619.1036339690@sss.pgh.pa.us
обсуждение исходный текст
Ответ на uniqueidentifier datatype for 7.3.X  ("Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков <dmitry@taurussoft.org>)
Ответы Re: uniqueidentifier datatype for 7.3.X  ("Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков <dmitry@taurussoft.org>)
Список pgsql-sql
"Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков <dmitry@taurussoft.org> writes:
> In this release there is additional function uniqueidentifier_text()
> which converts uniqueidentifier to text datatype. Thanks to Hussein
> Patni!

You would be better off to name the conversion function text(uuid)
and declare it as a cast (possibly an explicit-only cast, depending on
whether you think automatic casting of uuid to text is a good idea).
Not following the standard naming convention for conversion functions
just creates an extra memory burden for users.
        regards, tom lane


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

Предыдущее
От: "Alexander M. Pravking"
Дата:
Сообщение: Re: Different size in the DATA directory
Следующее
От: Wei Weng
Дата:
Сообщение: Re: [PERFORM] Does this matter?