From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] funny psql output |
Date: | 1999-10-19 09:00:19 |
Message-ID: | 199910190900.FAA29816@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 1999-10-19 09:44:36 | RE: [HACKERS] mdnblocks is an amazing time sink in huge relations |
Previous Message | Tatsuo Ishii | 1999-10-19 08:49:22 | Re: [HACKERS] sort on huge table |