Ken Corey writes:

> It sounds easiest to me to just punt and number the rows as they are returned
> in my calling application...

The rows are automatically numbered.  In libpq, you'd use
PQgetvalue(result, rownumber, fieldnumber).  Other interfaces have similar
functions.  If the interface has a "fetch"-like approach, it seems trivial
to keep a counter.

-- 
Peter Eisentraut      [EMAIL PROTECTED]       http://yi.org/peter-e/


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to