Date: Mon, 7 Mar 2005 18:10:02 +0100 From: Bachelier Vincent <vincent_bachelier@yahoo.fr> To: Jun Kuriyama <kuriyama@imgsrc.co.jp> Cc: perl@FreeBSD.org Subject: Re: p5-DBD-Pg Message-ID: <20050307171002.GA1483@localhost> In-Reply-To: <7mzmxhnlnv.wl%kuriyama@imgsrc.co.jp> References: <20050303195408.GA20131@localhost> <64573D1015B24642D50F2493@192.168.8.51> <7mzmxhnlnv.wl%kuriyama@imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
I have retest it now, just insert and select ... all done without patch. .. I try to test it again tomorrow, and see if persist at my work I will report if I use your patch Thx for support ... Le Sun, Mar 06, 2005 at 06:55:32PM +0900, Jun Kuriyama a écrit: > Date: Sun, 06 Mar 2005 18:55:32 +0900 > From: Jun Kuriyama <kuriyama@imgsrc.co.jp> > To: Mathieu Arnold <mat@FreeBSD.org> > Cc: Bachelier Vincent <vincent_bachelier@yahoo.fr>, perl@FreeBSD.org > Subject: Re: p5-DBD-Pg > User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) > FLIM/1.14.7 (Sanj?) APEL/10.6 Emacs/21.3 (i386--freebsd) > MULE/5.0 (SAKAKI) > > At Fri, 04 Mar 2005 11:39:50 +0100, > Mathieu Arnold wrote: > > | Is it normal ? > > | Perhaps downgrade is better ... > > > > Which perl version ? Can you give a sniplet of code which has the problem ? > > Okay, at least on my system (perl-5.8.6, postgresql-7.4.7), this > patchi fixes the problem. Could you please testing and commit? > > # I'll submit this to development team. > > > Index: Makefile > =================================================================== > RCS file: /home/ncvs/ports/databases/p5-DBD-Pg/Makefile,v > retrieving revision 1.61 > diff -u -r1.61 Makefile > --- Makefile 2 Mar 2005 18:18:57 -0000 1.61 > +++ Makefile 6 Mar 2005 09:53:08 -0000 > @@ -7,6 +7,7 @@ > > PORTNAME= DBD-Pg > PORTVERSION= 1.40 > +PORTREVISION= 1 > CATEGORIES= databases perl5 > MASTER_SITES= ${MASTER_SITE_PERL_CPAN} > MASTER_SITE_SUBDIR= DBD > Index: files/patch-dbdimp.c > =================================================================== > RCS file: files/patch-dbdimp.c > diff -N files/patch-dbdimp.c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ files/patch-dbdimp.c 6 Mar 2005 09:35:26 -0000 > @@ -0,0 +1,15 @@ > +--- dbdimp.c.orig Sun Mar 6 18:34:58 2005 > ++++ dbdimp.c Sun Mar 6 18:35:10 2005 > +@@ -1662,7 +1662,11 @@ > + /* Populate paramTypes */ > + paramTypes = calloc(imp_sth->numphs, sizeof(*paramTypes)); > + for (x=0,currph=imp_sth->ph; NULL != currph; currph=currph->nextph) { > +- paramTypes[x++] = currph->bind_type->type_id; > ++ if (BYTEAOID==currph->bind_type->type_id) { > ++ paramTypes[x++] = currph->bind_type->type_id; > ++ } else { > ++ paramTypes[x++] = 0; > ++ } > + } > + > + if (dbis->debug >= 10) { > > > -- > Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. > <kuriyama@FreeBSD.org> // FreeBSD Project -- Vincent Bachelier <vincent_bachelier@yahoo.fr> Language : Francais / English Societ(e/y) : Solintech - http://www.solintech.fr - Serveurs linux Blog : http://dieghostfbsd.blogspot.com Site perso : http://www.solintech.fr/freebsd/ - FreeBSD Donjon Citation (fortune): "I'd love to go out with you, but I've been scheduled for a karma transplant."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050307171002.GA1483>