Re: Re: Order question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Order question
Дата
Msg-id 11967.982108429@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Order question  ("Mitch Vincent" <mitch@venux.net>)
Список pgsql-general
"Mitch Vincent" <mitch@venux.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: PostgreSQL non-FAQ documentation
Следующее
От: Alfonso Peniche
Дата:
Сообщение: temporary tables