24 Jan
2011
24 Jan
'11
2:03 p.m.
Then I don't need primary key ? If I choose my primary key to be an integer then I have to keep track of numbers and automatically insert number incremented by one ? I worked long ago with Access and it automatically inserts number incremented by one as id. I guess than this is part of Access program and not the underlaying database ?
24 Jan
24 Jan
2:14 p.m.
New subject: [postmodern-devel] id field
Then I don't need primary key ?
(Read up on what primary keys really do.)
If I choose my primary key to be an integer then I have to keep track of numbers and automatically insert number incremented by one ?
No, Postgres supports automatically assigned IDs as well, but you have to specify them. Look into the serial datatype, and default column values.
5126
Age (days ago)
5126
Last active (days ago)
1 comments
2 participants
participants (2)
-
Haris
-
Marijn Haverbeke