Re: Multifunction Indexes

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: David Wheeler <david(at)kineticode(dot)com>
Cc: <sfpug(at)postgresql(dot)org>
Subject: Re: Multifunction Indexes
Date: 2003-03-15 02:35:12
Message-ID: 20030314183412.U88199-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug


On Fri, 14 Mar 2003, David Wheeler wrote:

> On Friday, March 14, 2003, at 04:43 PM, Stephan Szabo wrote:
>
> > sszabo=# select lower(a) || to_char(b, '09999999999') from test;
> > ?column?
> > ----------------
> > a 00000000123
> > a1 00000000023
> > (2 rows)
> >
> > (I guess you might really want FM0... but...)
>
> FMO?

IIRC FM makes it drop that leading space, so FM09999999999 (but I was lazy
and didn't add the 9s

In response to

Responses

Browse sfpug by date

  From Date Subject
Next Message Stephan Szabo 2003-03-15 02:40:06 Re: Multifunction Indexes
Previous Message David Wheeler 2003-03-15 01:31:32 Re: Multifunction Indexes