X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 90ABD9DC84B for ; Fri, 13 Jan 2006 16:20:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 78677-08 for ; Fri, 13 Jan 2006 16:20:06 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id B889B9DD74F for ; Fri, 13 Jan 2006 16:20:02 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0DKJx6a011767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Jan 2006 13:20:01 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0DKJxkA099123 for ; Fri, 13 Jan 2006 13:19:59 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0DKJxKs099122 for pgsql-performance@postgresql.org; Fri, 13 Jan 2006 13:19:59 -0700 (MST) (envelope-from mfuhr) Date: Fri, 13 Jan 2006 13:19:59 -0700 From: Michael Fuhr To: pgsql-performance@postgresql.org Subject: Re: insert without oids Message-ID: <20060113201958.GA99082@winnie.fuhr.org> References: <20060113201011.GI1408@mathom.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060113201011.GI1408@mathom.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.097 required=5 tests=[AWL=0.097] X-Spam-Score: 0.097 X-Spam-Level: X-Archive-Number: 200601/167 X-Sequence-Number: 16645 On Fri, Jan 13, 2006 at 03:10:11PM -0500, Michael Stone wrote: > Are there plans on updating the insert API for the post-OID world? Are you looking for this TODO item? * Allow INSERT/UPDATE ... RETURNING new.col or old.col This is useful for returning the auto-generated key for an INSERT. One complication is how to handle rules that run as part of the insert. http://www.postgresql.org/docs/faqs.TODO.html -- Michael Fuhr