Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 0A7811337B61 for ; Tue, 28 Sep 2010 01:06:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 65942-01 for ; Tue, 28 Sep 2010 04:06:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id 6E8031337B4A for ; Tue, 28 Sep 2010 01:06:17 -0300 (ADT) Received: by pwi1 with SMTP id 1so209155pwi.19 for ; Mon, 27 Sep 2010 21:06:16 -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=J5xYJLfJt4VMDr0D/Ck0qTQMS/Ut26U7hv7KacYQH0E=; b=St0w4wg217upPXtNkBFS3BYRspu+MFQrR2gEvpx1UjzAMP7Fm9U44DTOJyh5na/vTo WJeWykeqAGsXhfmJ7J2EHKQK6yjrm63UZTptw9fXbU4Tgv/QgtZn4BGBueKnf2Np8d0t fBcMtIICi3UTCA98R+C15j1dAJSgm0B1nsxRs= 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=BjxDVwHt7v/z/k43FXY6pctPk+kuSVkpdkMsTlatYFS79dD//a7w1Ol//0jvkQv3wF PROx0E6R0VWKSFA+80iukxdl0EHUVhvZBBUmwuGgyTNCiKnxRVyZUnHpHQK0m2a9VuKF Ij8y2Xhv6n7u7Z4Ot1gY3IgGsXDuw6bpXbyr0= Received: by 10.114.110.2 with SMTP id i2mr9554823wac.193.1285646775990; Mon, 27 Sep 2010 21:06:15 -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 d38sm11721243wam.20.2010.09.27.21.06.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 27 Sep 2010 21:06:14 -0700 (PDT) Message-ID: <4CA169BB.8070805@gmail.com> Date: Tue, 28 Sep 2010 13:06:19 +0900 From: Satoshi Nagayasu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Alvaro Herrera CC: Greg Smith , Robert Haas , Peter Eisentraut , pgsql-docs 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> <4C634586.7090908@gmail.com> <1285502270.1601.1.camel@vanquo.pezone.net> <4CA11FF7.1090403@gmail.com> <4CA13D11.7050905@gmail.com> <4CA1458F.9030707@2ndquadrant.com> <4CA15534.1060602@gmail.com> <1285645074-sup-514@alvh.no-ip.org> In-Reply-To: <1285645074-sup-514@alvh.no-ip.org> Content-Type: text/plain; charset=UTF-8; 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: 201009/132 X-Sequence-Number: 6122 On 2010/09/28 12:40, Alvaro Herrera wrote: > Excerpts from Satoshi Nagayasu's message of lun sep 27 22:38:44 -0400 2010: >> On 2010/09/28 10:31, Greg Smith wrote: >>> If the patch you generated applies to the git version of the repo cleanly, you may be fine for now. The anon-cvs version is mainly intended as a source to get a copy of the source code just to compile or read, not to develop patches against. For that it would be better to switch to git when you get some time to spend on that. >> >> So, I have created another patch from git repository. >> The attached one could be applied to the latest code. > > Looking at this patch I cannot but wonder if this should be a table > instead of a plain list. What's happen if you run the patch command at top of the repository? [snaga@devwa02 postgresql]$ pwd /home/snaga/pgsql/repo/postgresql [snaga@devwa02 postgresql]$ patch -p1 < ../ecpg-git.sgml.diff patching file doc/src/sgml/ecpg.sgml [snaga@devwa02 postgresql]$ or [snaga@devwa02 postgresql]$ git apply --reject ../ecpg-git.sgml.diff ../ecpg-git.sgml.diff:123: trailing whitespace. Checking patch doc/src/sgml/ecpg.sgml... Applied patch doc/src/sgml/ecpg.sgml cleanly. warning: 1 line adds whitespace errors. [snaga@devwa02 postgresql]$ Sorry I'm not familiar with Git yet, but I think above command can apply the patch. (I created the patch with the command `git diff'. Is this correct?) Thanks, -- NAGAYASU Satoshi