Re: Ordering Results by a Supplied Order

Поиск
Список
Период
Сортировка
От Michael Sacket
Тема Re: Ordering Results by a Supplied Order
Дата
Msg-id 7DC3AE21-7915-4137-8316-8D644A6B17CE@gammastream.com
обсуждение исходный текст
Ответ на Re: Ordering Results by a Supplied Order  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список pgsql-general
On Feb 6, 2014, at 12:57 PM, Gavin Flower wrote:

> On 07/02/14 05:43, Michael Sacket wrote:
>> On Feb 6, 2014, at 2:23 AM, Vik Fearing wrote:
>>
>>> On 02/06/2014 04:16 AM, Michael Sacket wrote:
>>>> Often times I find it necessary to work with table rows in a specific, generally user-supplied order.  It could be
anythingreally that requires an ordering that can't come from a natural column.  Most of the time this involved
manipulatinga position column from the client application.  In any case, I've often found that to be cumbersome, but I
thinkI've come up with a solution that some of you may find useful. 
>>>>
>>> Up until 9.4, that's a good way to do it.
>>>
>>> Starting from 9.4, you can use the WITH ORDINALITY feature.
>>> http://www.postgresql.org/docs/devel/static/sql-select.html
>>> --
>>> Vik
>> Even better!  The development team is always making my work easier in unexpected ways.
>>
>> Thanks!
>>
>>
> You do realize, that with this new feature, the licence fee for PostgreSQL will dramatically increase?  :-)
>
>
> Cheers,
> Gavin

Nope, I missed that.  Still says free as far as I can find. :-)  I did however find a donate button.  I encourage
othersto find it too! 

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

Предыдущее
От: Joe Van Dyk
Дата:
Сообщение: roles inheriting configuration values
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: roles inheriting configuration values