I'd like to show the observation number for each record returned by a PostgreSQL query.
I think in 8.4 windowing functions can perform this capability.
Edit:
I think I just found the answer, but since this hasn't been asked before, I'll keep the question open. I also welcome non-windowing function possibilities.
Edit 2:
So a little thinking and I found out how to order without calling a function, which should be possible in any SQL-standard database that doesn't have a row_number function.