From: Sean Davis <sdavis2@mail.nih.gov>
To: Premil Agarwal <preagarw@gmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: GenGUID (AutoNumber) in postgres
Date: Fri, 13 Jun 2008 13:53:33 -0400
Message-ID: <264855a00806131053r36768162mde26a0615b5ca00d@mail.gmail.com> (raw)
In-Reply-To: <92aa956e0806131048g6c70ecf1xb558c29af7c523ce@mail.gmail.com>
References: <92aa956e0806131048g6c70ecf1xb558c29af7c523ce@mail.gmail.com>
On Fri, Jun 13, 2008 at 1:48 PM, Premil Agarwal <preagarw@gmail.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
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-interfaces@postgresql.org
Cc: sdavis2@mail.nih.gov, preagarw@gmail.com
Subject: Re: GenGUID (AutoNumber) in postgres
In-Reply-To: <264855a00806131053r36768162mde26a0615b5ca00d@mail.gmail.com>
* 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