Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id IAA00614 for postgres-dist; Wed, 15 Dec 1993 08:35:28 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199312151635.IAA00614@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from maccs.dcss.mcmaster.ca (maccs.DCSS.McMaster.CA [130.113.1.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id IAA00605 for <postgres@postgres.Berkeley.EDU>; Wed, 15 Dec 1993 08:35:22 -0800
Received: by maccs.dcss.mcmaster.ca (/\==/\ Smail3.1.24.1 #24.2)
	id <m0p9zE6-0005xRC@maccs.dcss.mcmaster.ca>; Wed, 15 Dec 93 11:37 EST
Message-Id: <m0p9zE6-0005xRC@maccs.dcss.mcmaster.ca>
Date: Wed, 15 Dec 93 11:37 EST
From: wolska@maccs.dcss.mcmaster.ca (Ewa Lata-Wolska)
To: postgres@postgres.Berkeley.EDU
Resent-To: postgres-dist@postgres.Berkeley.EDU
Resent-Date: Wed, 15 Dec 93 08:35:28 -0800
Resent-XMts: smtp

Hi, I want to write a function to print relation to avoid repetition in
my every module. When I tried to pass a pointer to a PortalBuffer as a
argument Postgres replied *** error tuple index out of bound ****
Is it possible to send pointer to PortalBuffer like that?

e.g.
PortalBuffer *p;

......
........

p=PQparray("fportal");
print_realtion(p);




-------------------
print_relation(p)
PortalBuffer *p;
{
  .....
  command to print tuples etc.
}
etc.
                             Thanks in advance Ewa L. Wolska






