Enhancement suggestion - Mailing list pgsql-hackers

From Dann Corbit
Subject Enhancement suggestion
Date
Msg-id D425483C2C5C9F49B5B7A41F894415470558C5@postal.corporate.connx.com
Whole thread Raw
Responses Re: Enhancement suggestion  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Allow ASC/DESC direction modifiers for index columns.</span></font><p class="MsoNormal"><font
face="Arial"size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Almost every database has this, and it is a pest to have to write a function for every index column
youwant descending.</span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">Now, it is not technically difficult (nothing more than –compare(x,y) instead of compare(x,y) to
producethe ordering) but it would be much better to simply add it to the language.</span></font><p
class="MsoNormal"><fontface="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font><p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial">It would obviously require at least two changes, one to the grammar and one to the indexing
code.</span></font><pclass="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt; 
font-family:Arial"> </span></font></div>

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [NOVICE] Last ID Problem
Next
From: "Merlin Moncure"
Date:
Subject: Re: [NOVICE] Last ID Problem