Received: from candle.pha.pa.us (pgman@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id UAA99896 for ; Wed, 5 Jan 2000 20:33:23 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id UAA17085; Wed, 5 Jan 2000 20:32:38 -0500 (EST) From: Bruce Momjian Message-Id: <200001060132.UAA17085@candle.pha.pa.us> Subject: Re: [SQL] Autonumber column In-Reply-To: <000001bf57de$9a50b540$0564a8c0@bron> from Bron Till at "Jan 6, 2000 01:40:17 pm" To: Bron Till Date: Wed, 5 Jan 2000 20:32:38 -0500 (EST) CC: pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sequences. See my book for a chapter on it on web site. [Charset iso-8859-1 unsupported, filtering to ASCII...] > How can I create an autonumber (automatically incremented by 1) column in > table in Postgres? Do I have to use a trigger? > > > > ************ > > -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026