From: postgresql <pgsql@symcom.com>
To: PgSQL-SQL <pgsql-sql@postgresql.org>
Subject: to_char problem
Date: Sat, 13 Apr 2002 12:57:25 -0400
Message-ID: <20020413163554.540AE475902@postgresql.org> (raw)
Can some one explain this result. Notice the select.... the result
shows the month followed by 5 spaces and then the comma one
space and the year.
Why are there 5 spaces (ascii 32) after the month? I get the same
thing if I say 'MonthDD, YYYY'. That is no space after the month.
Is this is operating as expected and my expectations are wrong,
point me to the manual pages that explain it.
Mac OSX 10.1.2 postgresql 7.2.1
fifthcolor=# select to_char(termdate, 'Month DD, YYYY') from
employees where code = 'MM';
to_char
--------------------
April 09, 2002
(1 row)
Ted
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: pgsql@symcom.com
Subject: Re: to_char problem
In-Reply-To: <20020413163554.540AE475902@postgresql.org>
* 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