pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Witney <awitney@sghms.ac.uk>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Cc: DBD-pg <dbdpg-general@gborg.postgresql.org>
Subject: Re: Release of DBD-pg 1.22
Date: Sat, 29 Mar 2003 14:56:34 +0000
Message-ID: <BAAB64A2.15679%a.witney@sghms.ac.uk> (raw)
In-Reply-To: <200303281558.h2SFwYr04917@candle.pha.pa.us>

On 28/3/03 3:58 pm, "Bruce Momjian" <pgman@candle.pha.pa.us> 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.




view thread (15+ messages)  latest in thread

Message-ID: <BAAB64A2.15679%a.witney@sghms.ac.uk>
Permalink:  ../BAAB64A2.15679%25a.witney@sghms.ac.uk/
Also on:    postgresql.org/message-id/BAAB64A2.15679%a.witney@sghms.ac.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: awitney@sghms.ac.uk, pgman@candle.pha.pa.us, dbdpg-general@gborg.postgresql.org
  Subject: Re: Release of DBD-pg 1.22
  In-Reply-To: <BAAB64A2.15679%a.witney@sghms.ac.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox