Skip site navigation (1) Skip section navigation (2)

Re: GenGUID (AutoNumber) in postgres

From: "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>
To: "Premil Agarwal" <preagarw(at)gmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: GenGUID (AutoNumber) in postgres
Date: 2008-06-13 17:53:33
Message-ID: 264855a00806131053r36768162mde26a0615b5ca00d@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
On Fri, Jun 13, 2008 at 1:48 PM, Premil Agarwal <preagarw(at)gmail(dot)com> wrote:
> I have a database that was migrated from Access. I am having trouble porting
> "AutoNumber" datatype. The column that is of type "AutoNumber" is suppose to
> Unique ID (PK) for that table. Internally it uses GenGUID API in access to
> generate the unique ID.
>
> Any ideas on how to port this functionality to Postgres.

I don't use Access, but you might want to look at the documentation
about "serial" data type.

Sean

In response to

pgsql-interfaces by date

Next:From: rick richardsDate: 2008-07-01 17:29:25
Subject: Where to find libpq++ ?
Previous:From: Premil AgarwalDate: 2008-06-13 17:48:45
Subject: GenGUID (AutoNumber) in postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group