agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Eric P Dean <ericdean@iastate.edu>
To: postgres@postgres.Berkeley.EDU
Subject: pgperl test
Date: Thu, 23 Feb 1995 13:11:02 CST
Message-ID: <9502231911.AA08787@pv081c.vincent.iastate.edu> (raw)
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/
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: pgperl test
In-Reply-To: <9502231911.AA08787@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