X-Original-To: pgsql-interfaces@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 07CCB475A45 for ; Sat, 29 Mar 2003 09:58:28 -0500 (EST) Received: from mailhub1.sghms.ac.uk (firewall.sghms.ac.uk [194.82.50.2]) by postgresql.org (Postfix) with ESMTP id EB40E474E42 for ; Sat, 29 Mar 2003 09:58:26 -0500 (EST) Received: from [194.82.51.24] (helo=imail) by mailhub1.sghms.ac.uk with esmtp (Exim 4.12) id 18zHkv-0006oE-00; Sat, 29 Mar 2003 14:56:25 +0000 Received: from [172.16.20.3] (mrc1-003.sghms.ac.uk [172.16.20.3]) by imail.sghms.ac.uk (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTPA id <0HCI0026RMX4U5@imail.sghms.ac.uk>; Sat, 29 Mar 2003 14:58:16 +0000 (GMT) Date: Sat, 29 Mar 2003 14:56:34 +0000 From: Adam Witney Subject: Re: Release of DBD-pg 1.22 In-reply-to: <200303281558.h2SFwYr04917@candle.pha.pa.us> To: Bruce Momjian Cc: pgsql-interfaces , DBD-pg Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.1.2418 X-MailScanner-MH1: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-32.3, required 5, BAYES_01, EMAIL_ATTRIBUTION, IN_REP_TO, QUOTED_EMAIL_TEXT, QUOTE_TWICE_1, REPLY_WITH_QUOTES, USER_AGENT_ENTOURAGE) X-Spam-Status: No, hits=-32.3 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REPLY_WITH_QUOTES,USER_AGENT_ENTOURAGE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/177 X-Sequence-Number: 3926 On 28/3/03 3:58 pm, "Bruce Momjian" wrote: > > What version of perl do you have? I have 5.005_03, and others have 5.6, > and both seem to work. The current test in dbdimp.c is: > > #ifdef SvUTF8_off > if (imp_dbh->pg_enable_utf8) { > SvUTF8_off(sv); > /* XXX Is this all the character data types? */ > if (18 == type || 25 == type || 1042 ==type || 1043 == type) { > if (is_high_bit_set(val) && is_utf8_string(val, val_len)) > SvUTF8_on(sv); > } > } > #endif > > Maybe that isn't the right test --- maybe you have a version of perl > that passes the #ifdef test, but doesn't have is_utf8_string(). > I have perl 5.6.0. I don't know if it has is_utf8_string()... Where would I look for this? The output of perl -V if this helps [mrc1-003:] adam% perl -V Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=darwin, osvers=6.0, archname=darwin uname='darwin fisheye 6.0 darwin kernel version 5.2: mon jun 17 09:55:14 pdt 2002; root:xnu-201-14.rootsxnu-201-14.objrelease_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef Compiler: cc='cc', optimize='-Os', gccversion=Apple cpp-precomp 6.14 cppflags='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' ccflags ='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing' stdchar='char', d_stdstdio=undef, usevfork=true intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='' libpth=/usr/lib libs=-lm -lc libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib Dynamic Linking: dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-bundle -flat_namespace -undefined suppress' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under darwin Compiled at Jul 14 2002 04:04:33 %ENV: PERL5LIB="/sw/lib/perl5" @INC: /sw/lib/perl5/darwin /sw/lib/perl5 /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl . -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.