X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id ABEA611F6B2D for ; Wed, 5 Apr 2006 15:14:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73015-03 for ; Wed, 5 Apr 2006 15:14:47 -0300 (ADT) Received: from hub.org (hub.org [200.46.204.220]) by postgresql.org (Postfix) with ESMTP id A74F911F6AFE for ; Wed, 5 Apr 2006 15:14:46 -0300 (ADT) Received: from localhost (av.hub.org [200.46.204.144]) by hub.org (Postfix) with ESMTP id B9E1C824574 for ; Wed, 5 Apr 2006 15:14:44 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04026-07 for ; Wed, 5 Apr 2006 15:14:44 -0300 (ADT) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id C512782456C for ; Wed, 5 Apr 2006 15:14:41 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id DBFA346C54; Wed, 5 Apr 2006 15:14:42 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id D7E3A3BCD0 for ; Wed, 5 Apr 2006 15:14:42 -0300 (ADT) Date: Wed, 5 Apr 2006 15:14:42 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: pgsql-sql@postgresql.org Subject: Reverse Index ... how to ... Message-ID: <20060405151239.F947@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.61 required=5 tests=[AWL=0.131, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.61 X-Spam-Level: X-Archive-Number: 200604/22 X-Sequence-Number: 24831 I'm still searching through Google and whatnot, but not finding anything off the bat ... is there some way of creating a 'REVERSE INDEX' on a column in a table? For instance, when I do a 'CLUSTER' to sort a table based on an INDEX, I'd like to sort it in reverse order, so would need the INDEX to go from 'GREATEST to LOWEST', vs 'LOWEST to GREATEST' ... Thx ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664