Re: Oddity with extract microseconds?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Oddity with extract microseconds?
Дата
Msg-id 20051207025337.GA61048@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Oddity with extract microseconds?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Wed, Dec 07, 2005 at 10:47:45AM +0800, Christopher Kings-Lynne wrote:
> Ok, and what does this give:
> 
> SELECT EXTRACT(MICROSECOND FROM '2003-01-02 10:30:01.00123');

mysql> SELECT EXTRACT(MICROSECOND FROM '2003-01-02 10:30:01.00123');
+-------------------------------------------------------+
| EXTRACT(MICROSECOND FROM '2003-01-02 10:30:01.00123') |
+-------------------------------------------------------+
|                                                  1230 |
+-------------------------------------------------------+
1 row in set (0.00 sec)

Does contrary behavior from MySQL count as evidence that PostgreSQL's
behavior is correct? :-)

-- 
Michael Fuhr


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Oddity with extract microseconds?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: more locale problems on Windows