Re: Probably simple answer - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Probably simple answer
Date
Msg-id Pine.LNX.4.30.0111061524140.3607-100000@peter.localdomain
Whole thread Raw
In response to Probably simple answer  ("Al Kirkus" <Al@dist102.k12.il.us>)
List 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@gmx.net


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: functions, shell script
Next
From: Rich Shepard
Date:
Subject: Creating tables from files