Re: Problem with the to_timestamp function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with the to_timestamp function
Дата
Msg-id 10461.1201802943@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problem with the to_timestamp function  (Luca Clementi <lclement@ucsd.edu>)
Список pgsql-sql
Luca Clementi <lclement@ucsd.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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Luca Clementi
Дата:
Сообщение: Re: Problem with the to_timestamp function
Следующее
От: "Marcin Krawczyk"
Дата:
Сообщение: aggregate reverse