Re: each line counter - Mailing list pgsql-general

From Richard Huxton
Subject Re: each line counter
Date
Msg-id 441AD603.1040800@archonet.com
Whole thread Raw
In response to each line counter  (Zvonimir Radek <zvonimir.radek@eko.hr>)
Responses Re: each line counter  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-general
Zvonimir Radek wrote:
> Hi
> I would like to add counter in front of each row with select
> command.

You can sort-of do this by creating a sequence and then dropping it
after the query, but basically this is the sort of thing you do in the
client application usually.


--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Encountering NULLS in plpgsql
Next
From: Richard Huxton
Date:
Subject: Re: pgsql variables from records