From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Dmitry G. Mastrukov" Дмитрий Геннадьевич Мастрюков <dmitry@taurussoft.org>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Cc: Hussein Patni <hussein.patni@cosbit.com>
Subject: Re: uniqueidentifier datatype for 7.3.X
Date: Sun, 03 Nov 2002 11:08:10 -0500
Message-ID: <22619.1036339690@sss.pgh.pa.us> (raw)
In-Reply-To: <1036317235.29799.34.camel@flame-in-night>
References: <1036317235.29799.34.camel@flame-in-night>
"Dmitry G. Mastrukov" =?koi8-r?Q?=E4=CD=C9=D4=D2=C9=CA_?= =?koi8-r?Q?=E7=C5=CE=CE=C1=C4=D8=C5=D7=C9=DE_?= =?koi8-r?Q?=ED=C1=D3=D4=D2=C0=CB=CF=D7?= <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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, dmitry@taurussoft.org, hussein.patni@cosbit.com
Subject: Re: uniqueidentifier datatype for 7.3.X
In-Reply-To: <22619.1036339690@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox