Re: Problem with the to_timestamp function
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Luca Clementi <lclement(at)ucsd(dot)edu>
- Cc: pgsql-sql(at)postgresql(dot)org
- Subject: Re: Problem with the to_timestamp function
- Date: Thu, 31 Jan 2008 13:09:03 -0500
- Message-id: <10461.1201802943@sss.pgh.pa.us> <text/plain>
Luca Clementi <lclement(at)ucsd(dot)edu> writes:
> What do you mean with th standard input converter, you mean casting that
> string into a date with the default locate format. This won't work,
> because the machine where the DB is running is set to en.US, so it won't
> be able to parse that date. That's why I am using the to_timestamp.
Locale has nothing to do with this --- at most you might want to adjust
the datestyle parameter.
regards, tom lane
Home |
Main Index |
Thread Index