From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Raul Secan <raul@zerosoft.ro>
Cc: pgsql-php@postgresql.org
Subject: Re: to_char replacement
Date: Mon, 24 Jan 2005 17:17:15 +0000
Message-ID: <41F52D9B.7070209@familyhealth.com.au> (raw)
In-Reply-To: <001401c50234$66a0b410$0a10a8c0@zerosoft.ro>
References: <001401c50234$66a0b410$0a10a8c0@zerosoft.ro>
to_char() will still be around for dates, just not for intervals. You
have nothing to worry about.
Chris
Raul Secan wrote:
>
> Hello, since to_char() function will no longer be available from
> PostgreSQL 8.1 ... I might need to change that from my scripts.
>
> For example I had something like that, which you can see returns the day
> in the format I need:
>
> SELECT TO_CHAR(some_date, 'DD-MM-YYYY') FROM some_table;
>
> Is there anyway to do that without TO_CHAR?
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: chriskl@familyhealth.com.au, raul@zerosoft.ro
Subject: Re: to_char replacement
In-Reply-To: <41F52D9B.7070209@familyhealth.com.au>
References: <001401c50234$66a0b410$0a10a8c0@zerosoft.ro> <41F52D9B.7070209@familyhealth.com.au>
* 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