Re: Re: Order question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mitch Vincent" <mitch(at)venux(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: Order question
Date: 2001-02-13 23:53:49
Message-ID: 11967.982108429@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Mitch Vincent" <mitch(at)venux(dot)net> writes:
> I just set the row with j.inv_id to 1, I'd like it to be ordered above the
> row with j.jobtitle in it -- is that possible?

Not unless you add a field with an update sequence number, or some such,
and then explicitly use that field as a second ORDER BY key. The system
does not maintain anything like that for you --- and should not, IMHO,
since it'd be useless overhead for apps that didn't care.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Friedman 2001-02-14 02:03:59 Re: SELECT (sometimes) returning Zero Rows?
Previous Message Justin Clift 2001-02-13 23:51:39 PostgreSQL non-FAQ documentation