Re: Probably simple answer

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Al Kirkus <Al(at)dist102(dot)k12(dot)il(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Probably simple answer
Date: 2001-11-06 22:51:05
Message-ID: Pine.LNX.4.30.0111061524140.3607-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Al Kirkus writes:

> Can anyone tell me how to get a sequential row count field in the output of a query?

Just keep a counter when you process the rows in your client application.
Depending on the particular interface you'll have to do that anyway to
loop through the result set.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Manuel Duran Aguete 2001-11-07 00:41:20 Perfomance Problems
Previous Message Peter Eisentraut 2001-11-06 22:49:26 Re: functions, shell script