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 LAA08944 for postgres-redist; Thu, 23 Feb 1995 11:11:09 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199502231911.LAA08944@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 LAA08933 for <postgres@nobozo.CS.Berkeley.EDU>; Thu, 23 Feb 1995 11:11:07 -0800
Received: by pv081c.vincent.iastate.edu with sendmail-5.65 
	id <AA08787@pv081c.vincent.iastate.edu>; Thu, 23 Feb 1995 13:11:02 -0600
Message-Id: <9502231911.AA08787@pv081c.vincent.iastate.edu>
To: postgres@postgres.Berkeley.EDU
Subject: pgperl test
Date: Thu, 23 Feb 1995 13:11:02 CST
From: Eric P Dean <ericdean@iastate.edu>
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Thu, 23 Feb 95 11:11:09 -0800
Resent-XMts: smtp

Now that I am using the correct version of perl, I have a new problem.
When I run the testlibpq.pl it does well untill it gets to this point:

Testing other things:
Opening 2 portals:
Number of portals open: 2
Segmentation fault
->

It seems to die in the following section of code from testlibpq.pl:

ANY ADVICE WOULD BE GREATLY APPRECIATED!!


sub test_rest {
    printf("Opening 2 portals:\n");
    &doPQexec ("begin");
    &doPQexec ("retrieve portal eportal (person.all)");
    &doPQexec ("fetch all in eportal");
    &doPQexec ("retrieve portal fportal (person.all)");
    &doPQexec ("fetch all in fportal");
>>  printf("Number of portals open: %d\n", &PQnportals(0));
    @names = &PQpnames (0);
    print "Portal names: ", join(', ',@names), ".\n";
    $p = &PQparray ("eportal");
    printf("Portal eportal %s asynchronous.\n",&PQrulep($p) ? "is" : "is not");
    printf("Portal eportal has %d tuples.\n",&PQntuples($p));
    printf("Portal eportal has %d instances.\n",&PQninstances($p));
    printf("Portal eportal has %d groups.\n",&PQngroups($p));
    printf("Portal eportal group 0 has %d instances.\n",&PQninstancesGroup($p,0)
);


Eric Dean
Curator, Visual Resources Collection
College of Design, Iowa State University





==============================================================================
   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.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
