Re: Opinion wanted on UUID/GUID datatype output formats.

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Opinion wanted on UUID/GUID datatype output formats.
Date: 2006-09-14 15:51:28
Message-ID: 1158249088.25023.71.camel@coppola.muc.ecircle.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> select format_uuid(mypk,'format2') from tbluuid;
> and then get: 6b13c5a1-afb4-dcf5-ce8f-8b4656b6c93c

How about instead of fixed formats, you allow a format string using the
diverse parts of the GUID a la time formatting functions ? Then
everybody can format it as they want.

Just an idea.

Cheers,
Csaba.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-09-14 16:01:56 Re: [ADMIN] Vacuum error on database postgres
Previous Message Strong, David 2006-09-14 15:44:20 Re: Lock partitions