Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TwPIZ-00033P-6y for pgsql-docs@arkaria.postgresql.org; Sat, 19 Jan 2013 03:40:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TwPIY-0002Lf-OF for pgsql-docs@arkaria.postgresql.org; Sat, 19 Jan 2013 03:40:50 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TwPIY-0002La-8s for pgsql-docs@postgresql.org; Sat, 19 Jan 2013 03:40:50 +0000 Received: from mout.gmx.net ([212.227.17.21]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TwPIW-0006UK-3d for pgsql-docs@postgresql.org; Sat, 19 Jan 2013 03:40:49 +0000 Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0LgsnI-1TAiCH0csA-00oFjy for ; Sat, 19 Jan 2013 04:40:47 +0100 Received: (qmail invoked by alias); 19 Jan 2013 03:40:46 -0000 Received: from pool-108-52-108-60.phlapa.fios.verizon.net (EHLO [192.168.1.5]) [108.52.108.60] by mail.gmx.net (mp033) with SMTP; 19 Jan 2013 04:40:46 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1+T/fZANQ+TLTBuuTdmwG16byUaJRiJ+g53Avy4oC h5NMwFXWSDIFes Message-ID: <1358566843.17277.2.camel@vanquo.pezone.net> Subject: Re: example for PGRES_COMMAND_OK From: Peter Eisentraut To: Josh Kupershmidt Cc: pgsql-docs Date: Fri, 18 Jan 2013 22:40:43 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Fri, 2012-10-26 at 16:58 -0700, Josh Kupershmidt wrote: > However, as of 8.2 we support the popular INSERT ... RETURNING and > UPDATE ... RETURNING, both of which will naturally give a successful > PQresultStatus() of PGRES_TUPLES_OK. committed -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs