agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: ericdean@iastate.edu
To: postgres@postgres.Berkeley.EDU
Date: Wed, 7 Sep 1994 11:02:38 -0500
Message-ID: <9409071602.AA22795@pv081c.vincent.iastate.edu> (raw)

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 <ericdean@iastate.edu> 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 <aoki@CS.Berkeley.EDU> 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.
==============================================================================



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: postgres@postgres.berkeley.edu
  Cc: ericdean@iastate.edu
  Subject: Re: 
  In-Reply-To: <9409071602.AA22795@pv081c.vincent.iastate.edu>

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

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