From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Gary Stainburn <gary.stainburn@ringways.co.uk>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: where'd the spaces come from
Date: Thu, 2 Aug 2001 12:31:08 -0400 (EDT)
Message-ID: <200108021631.f72GV8T03473@candle.pha.pa.us> (raw)
In-Reply-To: <01080216562606.18757@gary.ringways.co.uk>
> Hi Bruce,
>
> a fix for what?
> If you're meaning the leading space, then the fix is in the followup post
> that I made to my original quiestion. i.e.
>
> psql -c "select to_char(12,'xFM000');"
> to_char
> ---------
> x012
> (1 row)
>
> The 'FM' removes the space.
So the FM is the correct way to do this, right? There is no bug?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, gary.stainburn@ringways.co.uk, dev@archonet.com
Subject: Re: where'd the spaces come from
In-Reply-To: <200108021631.f72GV8T03473@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox