Re: pg_receivexlog: spurious error message connecting to 9.3
От | Michael Paquier |
---|---|
Тема | Re: pg_receivexlog: spurious error message connecting to 9.3 |
Дата | |
Msg-id | CAB7nPqT14p41dHgmBJP8OmLww6U9ne61dfEZZGDv9j_UPF+e5Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_receivexlog: spurious error message connecting to 9.3 (Fujii Masao <masao.fujii@gmail.com>) |
Ответы |
Re: pg_receivexlog: spurious error message connecting to
9.3
|
Список | pgsql-hackers |
<div dir="ltr"><br /><div class="gmail_extra"><br /><div class="gmail_quote">On Mon, Dec 7, 2015 at 11:37 PM, Fujii Masao<span dir="ltr"><<a href="mailto:masao.fujii@gmail.com" target="_blank">masao.fujii@gmail.com</a>></span> wrote:<br/><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thelatest patch has another problem; pg_receivexlog trying to connect to<br /> the PostgreSQL>= 9.4 always reports the following message unexpectedly.<br /><br /> could not identify system: got 1 rowsand 4 fields, expected 1 rows<br /><span class="">and 4 or more fields<br /><br /></span>This problem happens becausethe patch incorrectly treats the case where<br /> IDENTIFY_SYSTEM command returns NULL as database name, as an errorcase.<br /><br /> Attached is the updated version of the patch, which fixes the problem.<br /> Comments?<br /></blockquote></div><br/>The patch looks good. The top comment of RunIdentifySystem is incorrect though. It should mentionthat a database name is returned and not a plugin name.<br /></div><div class="gmail_extra">(not sure what happenedwith the last message, gmail went crazy for a second removing the subject).<br /></div><div class="gmail_extra">--<br /><div class="gmail_signature">Michael<br /></div></div></div>
В списке pgsql-hackers по дате отправления: