Auto-increment Numeric Primary keys - Mailing list pgsql-general

From Vipin Samtani
Subject Auto-increment Numeric Primary keys
Date
Msg-id 00a901bfd96f$60eb64e0$239c6520@default
Whole thread Raw
Responses Re: Auto-increment Numeric Primary keys  ("Brett W. McCoy" <bmccoy@chapelperilous.net>)
List pgsql-general
How can I auto-increment numeric primary keys? So on a table called
"Test1" with fields "ID" and "Name" when I do an INSERT, I only type

INSERT INTO Test1 values ('Bob');

instead of

INSERT INTO Test1 values (1, 'Bob');

Is this implemented in PostgreSQL 7?

-Vipin



pgsql-general by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Installing clients (psql) only
Next
From: Mike Mascari
Date:
Subject: Re: Auto-increment Numeric Primary keys