Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA02964; Sat, 11 Jan 92 15:15:20 -0800
Date: Sat, 11 Jan 92 15:15:20 -0800
Message-Id: <9201112315.AA02964@postgres.Berkeley.EDU>
From: joseash@bush.tamu.edu (Alfredo Sanchez)
Subject: Re: clarification on PQgetvalue()
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu



mao says:

> for the record, the program pgstats.c in the sample/ directory includes
> code that manages portal buffers, tuples, and attributes.  this program
> was written so that folks could use it as a template.


in said program, in function count_users() e. g., why isn't
retrieve portal used, but rather just retrieve? is it because
you won't need to fetch the actual tuples?
why do you check for 'E' in case of error from PQexec?
the ref manual says that, for historical reasons, an 'R'
is returned.

btw, my program is now working well, thanx a lot.


J Alfredo Sanchez H
-------------------
Hypertext Research Lab
Department of Computer Science
Texas A&M University
