From: Ian Jackson Subject: Re: [OSSTEST PATCH 5/7] Database locking: Tcl: for errorCode, use pg_exec, not pg_execute Date: Tue, 12 Jan 2016 15:39:33 +0000 Message-ID: <22165.7733.449404.925458@mariner.uk.xensource.com> References: <1452195496-16016-1-git-send-email-ian.jackson@eu.citrix.com> <1452195496-16016-6-git-send-email-ian.jackson@eu.citrix.com> <1452245577.21055.282.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aJ12v-0002c7-E8 for xen-devel@lists.xenproject.org; Tue, 12 Jan 2016 15:39:45 +0000 In-Reply-To: <1452245577.21055.282.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org, Ian Jackson List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 5/7] Database locking: Tcl: for er= rorCode, use pg_exec, not pg_execute"): > On Thu, 2016-01-07 at 19:38 +0000, Ian Jackson wrote: > > A wrinkle is that as a result it is no longer possible to use > > db-execute on a SELECT statement nor db-execute-array on a non-SELECT > > statement.=A0=A0This is because the 1. the `ok' status that we have to (fixed the typos, thanks) > > of the statement handle (-cmdTuples vs -numTuples).=A0=A0But all uses in > > the codebase are now fine for this distinction. > = > Does this imply that db-execute-array could be renamed db-execute-select, > or even just db-select? Yes, indeed. Do you think I should ? Ian.