Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, KaiGai Kohei <kaigai@ak.jp.nec.com>, Marti Raudsepp <marti@juffo.org>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-01-14T18:35:12Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > If we're going to reject this patch on backwards-compatibility > grounds, we need to make an argument that the backward-compatibility > hazards are a real concern. So, again, has anyone complained about > the changes we made in this area in 9.0? That 9.0 change was far less invasive than this: it only added a count field to SELECT and CTAS result tags. Quite aside from the fact that the tag name stayed the same, in the SELECT case it's unlikely anyone would have checked the tag at all rather than just testing for PQresultStatus() == PGRES_TUPLES_OK. So it was basically only changing the result for *one* command type. I don't think it's a good basis for arguing that this patch won't cause problems. regards, tom lane