BUG #2468: how to create auto-generate primary key

From: "vivekananda" <r(dot)vivekanandaswamy(at)rediffmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2468: how to create auto-generate primary key
Date: 2006-06-05 06:33:31
Message-ID: 200606050633.k556XVMj097544@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2468
Logged by: vivekananda
Email address: r(dot)vivekanandaswamy(at)rediffmail(dot)com
PostgreSQL version: 8.1
Operating system: Windows-2000
Description: how to create auto-generate primary key
Details:

Hi,
Good morning all.How to create automatic generated key while creating table
like OID's.is there any posibility to create this one?

for example create table emp(no numaric(3),name varchar(10))

here there is no primary key explicitly.But i want use primary key with
adding 3rd column for generating querys.

OID's are uniqe for all tables.but i want impliment this feature only for
specified table.How?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message samir 2006-06-05 09:17:30 BUG #2469: Error in connection to the server
Previous Message Rae Stiening 2006-06-04 17:45:35 BUG #2467: Documentation