Re: Running Totals and other stuff.... - Mailing list pgsql-general

From Greg Stark
Subject Re: Running Totals and other stuff....
Date
Msg-id 87smde59x7.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Running Totals and other stuff....  (Richard Huxton <dev@archonet.com>)
List pgsql-general
> > The best long term solution, IMHO, would be to change postgres so that
> > it has a unique system column for each record, like Oracle does.

Well incidentally, Oracle doesn't really either. If you use rowid for these
things then you're in for some surprises when you make any significant DDL
changes. At the very least it means dumping and reloading the data in a new
database will destroy all your relationships.

But the only reason Oracle even has something like rowid is a quirk of its
implementation. Postgres is implemented differently and in that implementation
there simply is no such identifier available.

--
greg

pgsql-general by date:

Previous
From: "Keith C. Perry"
Date:
Subject: Re: Dump 7.1.3->7.4.2
Next
From: Stephan Szabo
Date:
Subject: Re: ORDER BY with plpgsql parameter