Received: from news.tht.net (news.hub.org [216.126.91.242]) by hub.org (8.10.1/8.10.1) with ESMTP id e840hoC75710 for ; Sun, 3 Sep 2000 20:43:50 -0400 (EDT) Received: (from news@localhost) by news.tht.net (8.9.3/8.9.3) id UAA87484 for pgsql-sql@postgresql.org; Sun, 3 Sep 2000 20:15:17 -0400 (EDT) (envelope-from news) X-Authentication-Warning: news.tht.net: news set sender to using -f From: "Richard Rowell" Subject: Re: Auto increment Date: Sun, 03 Sep 2000 19:24:16 -0600 X-Newsgroups: comp.databases.postgresql.sql References: X-Newsreader: Pan 0.8.0 Message-ID: <39b2e986$1_1@news.shreve.net> X-Trace: 3 Sep 2000 19:15:02 -0500, shv5-27.shreve.net Lines: 19 To: pgsql-sql@postgresql.org X-Archive-Number: 200009/7 In article , "Mads Jensen" wrote: > Hi > > I'm a newbiw with pgsql: > > 1: Haven't been able to find the officiel manual to pgsql. What's the > complete URL? Hmm, I don't know, I use the book which you can find with all the rest of the docs at: http://www.postgresql.org/docs/index.html > 2: How can I make an auto increment with PostGreSQL? is it "inherit"? One of two ways. Either make the data type "serial" or you can create a sequence and set the default value of the field to curval(sequence).