function given current output-row

From: Peter Pilsl <pilsl(at)goldfisch(dot)at>
To: pgsql-general(at)postgresql(dot)org
Subject: function given current output-row
Date: 2001-10-27 06:45:25
Message-ID: 20011027084525.A40238@i3.atat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)goldfisch(dot)at
sms : pilsl(at)max(dot)mail(dot)at

pgp-key available

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2001-10-27 06:57:17 Re: concurrency performance degradation
Previous Message Sheer El-Showk 2001-10-27 06:31:29 Re: concurrency performance degradation