Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.
Marti Raudsepp <marti@juffo.org>
From: Marti Raudsepp <marti@juffo.org>
To: Robert Haas <robertmhaas@gmail.com>
Cc: KaiGai Kohei <kaigai@ak.jp.nec.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-01-15T21:25:56Z
Lists: pgsql-hackers
Attachments
- 0001-Return-command-tag-REPLACE-X-for-CREATE-OR-REPLACE-s.patch (text/x-patch) patch 0001
- 0002-Move-MOVE-FETCH-command-tag-formatting-to-ProcessUti.patch (text/x-patch) patch 0002
Here's an updated patch that reports command status back to ProcessUtility via 'bool' return value. I was a bit unsure about using bool return values because it's not immediately obvious what "true" or "false" refer to, but defining a new enum seemed like overkill, so I went with bool anyway. Any better ideas? The 2nd patch also moves MOVE/FETCH command tag formatting up to ProcessUtility, hopefully this change is for the better. Regards, Marti