Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 21AAF632915 for ; Wed, 11 Aug 2010 21:51:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 14227-01; Thu, 12 Aug 2010 00:51:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pv0-f174.google.com (mail-pv0-f174.google.com [74.125.83.174]) by mail.postgresql.org (Postfix) with ESMTP id A76F9632892; Wed, 11 Aug 2010 21:51:23 -0300 (ADT) Received: by pvg2 with SMTP id 2so260255pvg.19 for ; Wed, 11 Aug 2010 17:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=YGPhFL+DQUl1h4bDMMPv+yo3kS2LXLVdEwkmOic3Tqc=; b=g++nCH1wbKNG/7LVEAnlY/pQW2biCHYDSyqjcLrmBZuDrZYBCD9+QG5UdsMrpsWz/w i1+q7DXj1SCR2RVzom6tinj795G4mCX3Fh3GncQYLu7YEZAst9MAesKyuD5XOgHNvEOt omeyGrQQf+6yenYKH9UCNmTvy+actx4F54amQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=dJQTGcPU0zn5A856/mqPS2Np5DCnHLMDbIVlYuZrFuxiRgh1STefZrmGx2b5Eu08lA +bT6V7pZm3VnBm/7NuYAxw7vtBU/57pBDYWSZm1IxpGGmx5gNd6hTAPiljkRNV64RI5d e7u8Y22VwKmaBBA0/uXKTAJZIEYYLSYQcd20A= Received: by 10.114.46.8 with SMTP id t8mr22901089wat.32.1281574281638; Wed, 11 Aug 2010 17:51:21 -0700 (PDT) Received: from [10.0.2.101] (p0245ed.tokyff01.ap.so-net.ne.jp [121.2.69.237]) by mx.google.com with ESMTPS id d39sm1215015wam.4.2010.08.11.17.51.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 11 Aug 2010 17:51:19 -0700 (PDT) Message-ID: <4C634586.7090908@gmail.com> Date: Thu, 12 Aug 2010 09:51:18 +0900 From: Satoshi Nagayasu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Robert Haas CC: pgsql-docs , Michael Meskes Subject: Re: ECPG - Some errno definitions don't match to the manual References: <4C4847D0.9030001@gmail.com> <4C602E9D.40501@gmail.com> <4C60C7A9.10307@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/23 X-Sequence-Number: 5847 On 2010/08/12 4:08, Robert Haas wrote: > On Mon, Aug 9, 2010 at 11:29 PM, Satoshi Nagayasu > wrote: >> On 2010/08/10 1:36, Satoshi Nagayasu wrote: >>> >>> On 2010/08/09 21:27, Robert Haas wrote: >>>>> >>>>> I'm now investigating SQLCODE and SQLSTATE, and I have found >>>>> that some of the errno definitions don't match to the manual. >> A patch to fix this problem is attached. >> Please take a look. > > I've applied the portion of this patch that just fixes the existing > entries to match ecpgerrno.h, and have back-patched it all the way > back to 7.4, since the contents of ecpgerrno.h haven't changed in the > interim. The remainder of this will need more review than I can give > it right now: since I'm not familiar with ECPG, I can't easily verify > that the new entries you've added are correct. I'd suggest posting a > new version and adding it here: > > https://commitfest.postgresql.org/action/commitfest_view/open Thank you for the commit, and I'll put the remainder to the commitfest page. Regards, -- NAGAYASU Satoshi