On Tue, Mar 18, 2014 at 09:29:36AM +0100, Pierre-Emmanuel Andr'e wrote:
> Thanks for your report. Could you tell me what tests fail ?
> Everything is ok here.
Sorry about the poor report, this hopefully is a better one. I followed
the instructions for setting up Postgres in
/usr/local/share/doc/pkg-readmes/postgresql-server-9.3.3
I do notice that my client_encoding and server_encoding are SQL_ASCII,
so that is likely the cause.
# su - _postgresql
$ mkdir /var/postgresql/data
$ initdb -D /var/postgresql/data -U postgres -A md5 -W
susctl kern.seminfo.semmni=60 kern.seminfo.semmns=1024
===> Regression tests for p5-DBD-Pg-3.0.0
PGINITDB="/usr/local/bin/initdb" PERL_DL_NONLAZY=1 /usr/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
#
# DBI Version 1.622
# DBD::Pg Version 3.0.0
# Perl Version 5.16.3
# OS openbsd
# PostgreSQL (compiled) 90303
# PostgreSQL (target) 90303
# PostgreSQL (reported) PostgreSQL 9.3.3 on powerpc-unknown-openbsd5.5,
compiled by cc (GCC) 4.2.1 20070719 , 32-bit
# Default port 5432
# DBI_DSN dbi:Pg:db="template1"
# DBI_USER postgres
# Test schema dbd_pg_testschema
# array_nulls on
# backslash_quote safe_encoding
# client_encoding SQL_ASCII
# server_encoding SQL_ASCII
# standard_conforming_strings on
t/01connect.t ....... ok
t/01constants.t ..... ok
t/02attribs.t ....... ok
t/03dbmethod.t ...... ok
t/03smethod.t ....... ok
NOTICE: RAISE NOTICE FROM dbdpg_test_error_handler
WARNING: RAISE WARNING FROM dbdpg_test_error_handler
# 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
# Failed test 'Fetching UTF-8 string from the database returns proper string'
# at t/30unicode.t line 37.
# got: '??milie du Ch??telet'
# expected: '???milie du Ch???telet'
# Failed test 'Fetching UTF-8 string from the database returns string with
UTF-8 flag on'
# at t/30unicode.t line 39.
# Failed test 'Fetching ASCII string from the database returns string with
UTF-8 flag on'
# at t/30unicode.t line 64.
# Looks like you failed 3 tests of 12.
t/30unicode.t .......
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/12 subtests
Removing test database directory
t/99cleanup.t ....... ok
Test Summary Report
-------------------
t/30unicode.t (Wstat: 768 Tests: 12 Failed: 3)
Failed tests: 2-3, 8
Non-zero exit status: 3
Files=16, Tests=1766, 55 wallclock secs ( 1.02 usr 0.19 sys + 14.61 cusr 2.76
csys = 18.58 CPU)
Result: FAIL
Failed 1/16 test programs. 3/1766 subtests failed.
OpenBSD 5.5 (GENERIC) #159: Fri Feb 28 20:32:35 MST 2014
[email protected]:/usr/src/sys/arch/macppc/compile/GENERIC
autoconf-2.69p1 automatically configure source code on many Un*x platforms
bzip2-1.0.6p0 block-sorting file compressor, unencumbered
gettext-0.18.2p4 GNU gettext
gmake-4.0p0 GNU make
gperf-3.0.4p0 perfect hash functions, to help write parsers
groff-1.22.2p4 GNU troff typesetter
help2man-1.41.1p0 generates simple manual pages from program output
libffi-3.0.9p6 Foreign Function Interface
libiconv-1.14p1 character set conversion library
libxml-2.9.1 XML parsing library
metaauto-1.0p1 wrapper for gnu auto*
p5-Clone-0.34 recursively copy Perl datatypes
p5-DBI-1.622 unified perl interface for database access
p5-FreezeThaw-0.5001 module for converting structures to strings and back
p5-MLDBM-2.05 store multi-level hash structure in single-level tied hash
p5-Net-Daemon-0.48 extension for portable daemons
p5-Params-Util-1.07 utility to make parameter checking easier
p5-PlRPC-0.2018p1 module for writing rpc servers and clients
p5-SQL-Statement-1.33 sql parsing and processing
p5-Sub-Uplevel-0.24v0 Perl library for manipulating frame stack
p5-Test-Warn-0.24 Perl extension to test methods for warnings
p5-Tree-DAG_Node-1.06 superclass for representing nodes in a tree
postgresql-client-9.3.3 PostgreSQL RDBMS (client)
postgresql-server-9.3.3 PostgreSQL RDBMS (server)
python-2.7.6p1 interpreted object-oriented programming language
l8rZ,
--
andrew - http://afresh1.com
If your computer says, "Printer out of Paper," this problem cannot
be resolved by continuously clicking the "OK" button.