Re: ECPG - Some errno definitions don't match to the manual

Поиск
Список
Период
Сортировка
От Satoshi Nagayasu
Тема Re: ECPG - Some errno definitions don't match to the manual
Дата
Msg-id 4CA169BB.8070805@gmail.com
обсуждение исходный текст
Ответ на Re: ECPG - Some errno definitions don't match to the manual  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: ECPG - Some errno definitions don't match to the manual  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-docs
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
versionis 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 <satoshi.nagayasu@gmail.com>

В списке pgsql-docs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: ECPG - Some errno definitions don't match to the manual
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: ECPG - Some errno definitions don't match to the manual