Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4BDV2A67420 for ; Fri, 11 May 2001 09:31:02 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f490QoA19317 for ; Tue, 8 May 2001 20:26:50 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f490Bf436710 for pgsql-sql@postgresql.org; Tue, 8 May 2001 20:11:41 -0400 (EDT) (envelope-from news) From: "Wei Weng" X-Newsgroups: comp.databases.postgresql.sql Subject: Is this possible? Date: Tue, 08 May 2001 21:16:56 -0400 Organization: KenCast Lines: 6 Message-ID: <9da1vs$13r2$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: scrappy@hub.org User-Agent: Pan/0.9.6 (Unix) To: pgsql-sql@postgresql.org X-Archive-Number: 200105/99 X-Sequence-Number: 2907 I have a table that has a serial for primary key. Is it possible to get the new available primary key right after I insert a row of new entry? Thanks Wei