Received: from mail1.hub.org (webmail.hub.org [216.126.85.1]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9J823P25624 for ; Fri, 19 Oct 2001 04:02:04 -0400 (EDT) (envelope-from news@news.tht.net) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail1.hub.org (8.11.3/8.11.4) with ESMTP id f9FG5EX50116 for ; Mon, 15 Oct 2001 12:05:14 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f9FFhXU65908 for pgsql-sql@postgresql.org; Mon, 15 Oct 2001 11:43:33 -0400 (EDT) (envelope-from news) From: "Stefan Lindner" X-Newsgroups: comp.databases.postgresql.sql Subject: system maintained keys Date: Mon, 15 Oct 2001 17:43:40 +0200 Organization: Visionet GMbH Lines: 5 Message-ID: <9qf06v$20bh$1@news.tht.net> Reply-To: "Stefan Lindner" X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-sql@postgresql.org X-Archive-Number: 200110/280 X-Sequence-Number: 5233 Is there any way to get system maintained keys from postgres? e.g. to have a table with a primary key column (varchar or int) and let postgres chose the next unique value for this column?