Re: Equivalent for AUTOINCREMENT?

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: "Sam Mason" <sam(at)samason(dot)me(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Equivalent for AUTOINCREMENT?
Date: 2008-10-31 14:28:33
Message-ID: 2f4958ff0810310728l45ff20b9r8994cb7162fbd2fb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

pardon me, I didn't read the post - just judged it by subject really :)
you can also use keyward DEFAULT, so insert into foo(a) values(default);
But that's the whole point of DEFAULT .... in create table statement. If you
omit that column, it will be set to default value.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aaron 2008-10-31 14:31:30 Re: Storage location of temporary files
Previous Message Sam Mason 2008-10-31 14:12:38 Re: Equivalent for AUTOINCREMENT?