I encountered the same error today. Perl 5.16.3, latest DBD::Pg from CPAN, along with other latest-as-of-today CPAN dependencies. (ie. it was a fresh Perl install)
On 5 September 2013 06:39, David E. Wheeler <[email protected]> wrote: > Known issue? > > Running make test > PGINITDB="/usr/local/pgsql/bin/initdb" PERL_DL_NONLAZY=1 /usr/local/bin/perl > "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/00_signature.t .... skipped: Set the environment variable TEST_SIGNATURE to > enable this test > t/00basic.t ......... ok > t/01connect.t ....... 3/15 # > # DBI Version 1.628 > # DBD::Pg Version 2.19.3 > # Perl Version 5.18.1 > # OS darwin > # PostgreSQL (compiled) 90300 > # PostgreSQL (target) 90300 > # PostgreSQL (reported) PostgreSQL 9.3beta1 on > x86_64-apple-darwin12.3.0, compiled by i686-apple-darwin11-llvm-gcc-4.2 (GCC) > 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00), 64-bit > # Default port 5432 > # DBI_DSN dbi:Pg: > # DBI_USER postgres > # Test schema dbd_pg_testschema > # LANG en_US.UTF-8 > # array_nulls on > # backslash_quote safe_encoding > # client_encoding UTF8 > # server_encoding UTF8 > # standard_conforming_strings on > # Adjusted: DBI_DSN > t/01connect.t ....... ok > t/01constants.t ..... ok > t/02attribs.t ....... 1/249 > # Failed test 'DB handle attribute "PrintWarn" shows warnings when on' > # at t/02attribs.t line 263. > # '' > # doesn't match '(?^:dbd_pg_test_temp)' > t/02attribs.t ....... 247/249 # Looks like you failed 1 test of 249. > t/02attribs.t ....... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/249 subtests > (less 1 skipped subtest: 247 okay) > t/03dbmethod.t ...... ok > t/03smethod.t ....... ok > t/04misc.t .......... 48/70 # Checking pg_st_split_statement. This may take a > while... > t/04misc.t .......... ok > t/06bytea.t ......... ok > t/07copy.t .......... ok > t/08async.t ......... ok > t/09arrays.t ........ ok > t/12placeholders.t .. ok > t/20savepoints.t .... ok > t/99cleanup.t ....... 1/1 Removing test database directory > t/99cleanup.t ....... ok > > Test Summary Report > ------------------- > t/02attribs.t (Wstat: 256 Tests: 249 Failed: 1) > Failed test: 23 > Non-zero exit status: 1 > > Thanks, > > David > -- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world
