Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

sfpug by date

Next:From: Stephan SzaboDate: 2003-03-15 02:40:06
Subject: Re: Multifunction Indexes
Previous:From: David WheelerDate: 2003-03-15 01:31:32
Subject: Re: Multifunction Indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group