Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id JAA17648 for postgres-redist; Wed, 7 Sep 1994 09:02:44 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199409071602.JAA17648@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from pv081c.vincent.iastate.edu (pv081c.vincent.iastate.edu [129.186.8.28]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id JAA17638 for ; Wed, 7 Sep 1994 09:02:42 -0700 From: ericdean@iastate.edu Received: by pv081c.vincent.iastate.edu with sendmail-5.65 id ; Wed, 7 Sep 1994 11:02:38 -0500 Date: Wed, 7 Sep 1994 11:02:38 -0500 Message-Id: <9409071602.AA22795@pv081c.vincent.iastate.edu> To: postgres@postgres.Berkeley.EDU Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Wed, 07 Sep 94 09:02:44 -0700 Resent-XMts: smtp To: postgres@nobozo.CS.Berkeley.EDU (Paul M. Aoki) Subject: Re: Installing pgperl In-reply-to: Your message of "Thu, 01 Sep 1994 23:47:17 PDT." <199409020647.XAA00939@faerie.CS.Berkeley.EDU> -------- > Eric P Dean writes >> I ran the testlibpq.pl program and got a segmentation fault where it >> starts working with portals. The output from testlibpq.pl and a section >> of code from testlibpq.pl follows. >> It looks like it blew-up on "@names = &PQpnames (0);" in the subroutine >> test_rest of testlibpq.pl Paul M. Aoki writes > make sure that the version of pg-libpq.c that you are running is a > product of the new .mus file (since that's where the interface to > PQpnames is fixed) and that the pgperl is produced using the .o file > produced from that .c file. the interface to PQpnames is what > changed in 4.2 and is what broke in pgperl (ultrix header issues > aside). I made sure that pg-libpq.c, pg-libpq.mus, and pg.libpq.o files were all v 1.7 and still got the segmentation fault. However, I did notice that the testlibpq.pl is v, 1.5 in the most recent version of Postgres. Is this the porblem? root@pv081c.vincent> egrep ,v pg-libpq.mus * /usr/local/devel/postgres-v4r2/src/contrib/pgperl/RCS/pg-libpq.mus,v 1.7 1994/06/16 11:37:21 aoki Exp root@pv081c.vincent> egrep ,v pg-libpq.c * /usr/local/devel/postgres-v4r2/src/contrib/pgperl/RCS/pg-libpq.mus,v 1.7 1994/06/16 11:37:21 aoki Exp root@pv081c.vincent> egrep ,v pg-libpq.c * /usr/local/devel/postgres-v4r2/src/contrib/pgperl/RCS/pg-libpq.mus,v 1.7 1994/06/16 11:37:21 aoki Exp root@pv081c.vincent> egrep ,v testlibpq.pl # /usr/local/devel/postgres-v4r2/src/contrib/pgperl/RCS/testlibpq.pl,v 1.5 1993/06/14 19:47:35 aoki Exp ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================