Inconsistent ellipsis in regression test error message? - Mailing list pgsql-hackers

From Peter Smith
Subject Inconsistent ellipsis in regression test error message?
Date
Msg-id CAHut+PtmpM-rjtfxrxvLuP1TU7Z1-78qEsw60cJNPfAEtO49=w@mail.gmail.com
Whole thread Raw
Responses Re: Inconsistent ellipsis in regression test error message?
Re: Inconsistent ellipsis in regression test error message?
List pgsql-hackers
The most recent cfbot run for a patch I am interested in has failed a
newly added regression test.

Please see http://cfbot.cputube.org/ for 36/2906

~

The failure logs [2] are very curious because the error message is
what was expected but it has a different position of the ellipsis
(...).

But only for Windows.

 -- fail - publication WHERE clause must be boolean
 ALTER PUBLICATION testpub5 SET TABLE testpub_rf_tbl3 WHERE (1234);
 ERROR:  argument of PUBLICATION WHERE must be type boolean, not type integer
-LINE 1: ALTER PUBLICATION testpub5 SET TABLE testpub_rf_tbl3 WHERE (...
+LINE 1: ...PUBLICATION testpub5 SET TABLE testpub_rf_tbl3 WHERE (1234);


How is that possible?

Is this a problem caused by the patch code? If so, how?

Or is this some obscure boundary case bug of the error ellipsis
calculation which I've exposed by accident due to the specific length
of my bad command?

Thanks for any ideas!

------
[2] https://ci.appveyor.com/project/postgresql-cfbot/postgresql/build/1.0.157408

Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Delay the variable initialization in get_rel_sync_entry
Next
From: Larry Rosenman
Date:
Subject: Re: Buildfarm support for older versions