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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

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