pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
GenGUID (AutoNumber) in postgres
2+ messages / 2 participants
[nested] [flat]

* GenGUID (AutoNumber) in postgres
@ 2008-06-13 17:48 Premil Agarwal <preagarw@gmail.com>
  2008-06-13 17:53 ` Re: GenGUID (AutoNumber) in postgres Sean Davis <sdavis2@mail.nih.gov>
  0 siblings, 1 reply; 2+ messages in thread

From: Premil Agarwal @ 2008-06-13 17:48 UTC (permalink / raw)
  To: pgsql-interfaces

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.

Thanks

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

* Re: GenGUID (AutoNumber) in postgres
  2008-06-13 17:48 GenGUID (AutoNumber) in postgres Premil Agarwal <preagarw@gmail.com>
@ 2008-06-13 17:53 ` Sean Davis <sdavis2@mail.nih.gov>
  0 siblings, 0 replies; 2+ messages in thread

From: Sean Davis @ 2008-06-13 17:53 UTC (permalink / raw)
  To: Premil Agarwal <preagarw@gmail.com>; +Cc: pgsql-interfaces

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



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


end of thread, other threads:[~2008-06-13 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-06-13 17:48 GenGUID (AutoNumber) in postgres Premil Agarwal <preagarw@gmail.com>
2008-06-13 17:53 ` Sean Davis <sdavis2@mail.nih.gov>

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