Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3592E1337C07 for ; Thu, 7 Apr 2011 20:49:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 69584-02 for ; Thu, 7 Apr 2011 23:49:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 664A21337C03 for ; Thu, 7 Apr 2011 20:49:08 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p37Nn7ul074931 for ; Thu, 7 Apr 2011 23:49:07 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p37Nn7GX074930; Thu, 7 Apr 2011 23:49:07 GMT (envelope-from www) Date: Thu, 7 Apr 2011 23:49:07 GMT Message-Id: <201104072349.p37Nn7GX074930@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5968: DOCUMENTATION: SELECT synopsis omits RETURNING keyword From: "Gavin Flower" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201104/39 X-Sequence-Number: 29958 The following bug has been logged online: Bug reference: 5968 Logged by: Gavin Flower Email address: gavin.flower@archidevsys.co.nz PostgreSQL version: 9.1aplha5 Operating system: x86_64 Linux Description: DOCUMENTATION: SELECT synopsis omits RETURNING keyword Details: I think the documentation of SELECT should include the keyword 'RETURNING' in its synopsis. Also, that at least one example be given on that page. The text mentions 'RETURNING', so I was surprised not to see it in the synopsis. I found examples in the section: '7.8. WITH Queries (Common Table Expressions)'.