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

Re: to_char replacement

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Raul Secan <raul(at)zerosoft(dot)ro>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: to_char replacement
Date: 2005-01-24 17:17:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
to_char() will still be around for dates, just not for intervals.  You 
have nothing to worry about.


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?

In response to

pgsql-php by date

Next:From: Michael FuhrDate: 2005-01-24 17:44:35
Subject: Re: to_char replacement
Previous:From: Raul SecanDate: 2005-01-24 16:47:33
Subject: to_char replacement

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