Re: Sort question - Fractions, Metric etc

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bret Stern <bret_stern(at)machinemanagement(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Sort question - Fractions, Metric etc
Date: 2021-08-14 20:43:44
Message-ID: f4b00240-67e0-806c-7473-6983220d38e2@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/14/21 1:24 PM, Bret Stern wrote:
> Here's the clip of the UI. The user selects whatever value the vendor
> provides for unit thickness. The data entry

So the vendors supply the measurements in all the various units for a
given item?

>
> people aren't comfortable converting.
>
> At this point the sort_order column managed to do the trick....but going
> forward on my next
>
> application, I can see a different approach.
>
> Are you suggesting a function like this shellsort used with an array.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bret Stern 2021-08-14 21:04:46 Re: Sort question - Fractions, Metric etc
Previous Message Bret Stern 2021-08-14 20:24:49 Re: Sort question - Fractions, Metric etc