Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 128529
Status: resolved
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: vlasenko [...] imath.kiev.ua
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.7.4
Fixed in: 3.8.0



Subject: t/02attribs.t fails when built with postgress 11 - test should be fixed.
it seems as postgres 11 client library checks syntax first, finds and fire a syntax error before we have a chance to get server response. as seen from the message. # Failed test 'When client_min_messages is FATAL, we do our best to alert the caller it's a Bad Idea' # at t/02attribs.t line 1215. # 'ERROR: relation "nonesuh" does not exist # LINE 1: SELECT 1 FROM nonesuh # ^' # doesn't match '(?^:Perhaps client_min_messages)' # Looks like you failed 1 test of 272. t/02attribs.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/272 subtests see attached log file for more details.
Subject: hsh.log

Message body is not shown because it is too large.

Am Sa 16. Feb 2019, 11:45:41, VIY schrieb: Show quoted text
> it seems as postgres 11 client library checks syntax first, finds and > fire a syntax error before we have a chance to get server response. > as seen from the message. > > # Failed test 'When client_min_messages is FATAL, we do our best to > alert the caller it's a Bad Idea' > # at t/02attribs.t line 1215. > # 'ERROR: relation "nonesuh" does not exist
Since PostgreSQL 11.2 (and 10.7, 9.6.12, 9.5.16, 9.4.21), FATAL is no longer a valid client_min_messages level, the test will need updating.
This has been fixed in git (https://github.com/bucardo/dbdpg/commit/2b60151aea6f03ac7e846aae0d21e7f335cad99c) and will be in the next release. - ilmari
This still needs a release.