Re: [HACKERS] funny psql output

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] funny psql output
Дата
Msg-id 199910190900.FAA29816@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] funny psql output  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.

Oh, that's fine.  I just never realized it did that, but I see it now in
all my numeric columns.  Interesting.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] sort on huge table
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] mdnblocks is an amazing time sink in huge relations