pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
UUID for Postgresql 8.4
4+ messages / 4 participants
[nested] [flat]

* UUID for Postgresql 8.4
@ 2010-07-21 12:19 Trinath Somanchi <trinath.somanchi@gmail.com>
  2010-07-21 12:33 ` Re: UUID for Postgresql 8.4 A. Kretschmer <andreas.kretschmer@schollglas.com>
  2010-07-21 12:37 ` Re: UUID for Postgresql 8.4 MIkhail Puzanov <misha.puzanov@gmail.com>
  2010-07-21 12:38 ` Re: UUID for Postgresql 8.4 Kenneth Marshall <ktm@rice.edu>
  0 siblings, 3 replies; 4+ messages in thread

From: Trinath Somanchi @ 2010-07-21 12:19 UTC (permalink / raw)
  To: pgsql-sql

Hi All,

I have a column in my Postgresql database tables which need UUID.

Is there any function in Pgsql for UUID generation. Please help me in this
regard.

-- 
Regards,
----------------------------------------------
Trinath Somanchi,

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: UUID for Postgresql 8.4
  2010-07-21 12:19 UUID for Postgresql 8.4 Trinath Somanchi <trinath.somanchi@gmail.com>
@ 2010-07-21 12:33 ` A. Kretschmer <andreas.kretschmer@schollglas.com>
  2 siblings, 0 replies; 4+ messages in thread

From: A. Kretschmer @ 2010-07-21 12:33 UTC (permalink / raw)
  To: pgsql-sql

In response to Trinath Somanchi :
> Hi All,
> 
> I have a column in my Postgresql database tables which need UUID.
> 
> Is there any function in Pgsql for UUID generation. Please help me in this
> regard.

http://www.postgresql.org/docs/8.4/static/uuid-ossp.html

Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: UUID for Postgresql 8.4
  2010-07-21 12:19 UUID for Postgresql 8.4 Trinath Somanchi <trinath.somanchi@gmail.com>
@ 2010-07-21 12:37 ` MIkhail Puzanov <misha.puzanov@gmail.com>
  2 siblings, 0 replies; 4+ messages in thread

From: MIkhail Puzanov @ 2010-07-21 12:37 UTC (permalink / raw)
  To: Trinath Somanchi <trinath.somanchi@gmail.com>; pgsql-sql

There's contrib module for it, uuid-ossp.
It should be available as a package for most
OSes and distributions, I guess.


Hi All,
>
> I have a column in my Postgresql database tables which need UUID.
>
> Is there any function in Pgsql for UUID generation. Please help me in this
> regard.
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: UUID for Postgresql 8.4
  2010-07-21 12:19 UUID for Postgresql 8.4 Trinath Somanchi <trinath.somanchi@gmail.com>
@ 2010-07-21 12:38 ` Kenneth Marshall <ktm@rice.edu>
  2 siblings, 0 replies; 4+ messages in thread

From: Kenneth Marshall @ 2010-07-21 12:38 UTC (permalink / raw)
  To: Trinath Somanchi <trinath.somanchi@gmail.com>; +Cc: pgsql-sql

On Wed, Jul 21, 2010 at 05:49:53PM +0530, Trinath Somanchi wrote:
> Hi All,
> 
> I have a column in my Postgresql database tables which need UUID.
> 
> Is there any function in Pgsql for UUID generation. Please help me in this
> regard.
> 
> -- 
> Regards,
> ----------------------------------------------
> Trinath Somanchi,

Check the page about the UUID type in the manual:

http://www.postgresql.org/docs/8.4/interactive/datatype-uuid.html

It contains some suggestions for generating them, including the
contrib/uuid-ossp module:

http://www.postgresql.org/docs/8.4/interactive/uuid-ossp.html

Cheers,
Ken



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2010-07-21 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-07-21 12:19 UUID for Postgresql 8.4 Trinath Somanchi <trinath.somanchi@gmail.com>
2010-07-21 12:33 ` A. Kretschmer <andreas.kretschmer@schollglas.com>
2010-07-21 12:37 ` MIkhail Puzanov <misha.puzanov@gmail.com>
2010-07-21 12:38 ` Kenneth Marshall <ktm@rice.edu>

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