function given current output-row - Mailing list pgsql-general

From Peter Pilsl
Subject function given current output-row
Date
Msg-id 20011027084525.A40238@i3.atat.at
Whole thread Raw
Responses Re: function given current output-row  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
Is there a function that returns the number of the current outputline
?

ie.: select value,function from table;
value  |  function
-------+-----------
val1   |  1
val2   |  2
val3   |  3
...


I need this for a complex weighted sortingalgorithm.

thnx,
peter

--
mag. peter pilsl

phone: +43 676 3574035
fax  : +43 676 3546512
email: pilsl@goldfisch.at
sms  : pilsl@max.mail.at

pgp-key available

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: concurrency performance degradation
Next
From: Stephan Szabo
Date:
Subject: Re: concurrency performance degradation