Re: [HACKERS] funny psql output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] funny psql output
Дата
Msg-id 8357.940309500@sss.pgh.pa.us
обсуждение исходный текст
Ответ на funny psql output  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] funny psql output
Список pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
> test=> insert into kk1 values ('1/1/1990');
> INSERT 18588 1
> test=> select * from kk1;
>       born
> ----------
> 01-01-1990
> (1 row)

> Look how 'born' is right-shifted in the column.  Any idea why?

I think libpq's print routine is deciding that the column is numeric.
(all digits and minus signs ... and IIRC it's not very picky about
where the minus signs are...)

Perhaps Peter will fix this during his massive rewrite.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] is it possible to use LIMIT and INTERSECT ?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: [HACKERS] is it possible to use LIMIT and INTERSECT ?