Re: Problem with Now()?

From: wsheldah(at)lexmark(dot)com
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Linn Kubler" <LKubler(at)ecw(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with Now()?
Date: 2002-08-15 13:18:44
Message-ID: 200208151318.JAA07065@interlock2.lexmark.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'd be willing to bet that what Linn is seeing is timezone info, which you have
to admit does look a lot like exponential notation.

Seeing the actual table structure for the field, and some sample queries that
fail, would probably be helpful.

Wes

Tom Lane <tgl%sss(dot)pgh(dot)pa(dot)us(at)interlock(dot)lexmark(dot)com> on 08/14/2002 11:39:35 PM

To: "Linn Kubler" <LKubler%ecw(dot)org(at)interlock(dot)lexmark(dot)com>
cc: pgsql-general%postgresql(dot)org(at)interlock(dot)lexmark(dot)com (bcc: Wesley
Sheldahl/Lex/Lexmark)
Subject: Re: [GENERAL] Problem with Now()?

"Linn Kubler" <LKubler(at)ecw(dot)org> writes:
> Looking at this field in pgadminII and via odbc in something like Visual
> Fox Pro and it looks fine. When I look at it from PSQL, however, it
> looks like the seconds are converted to exponential notation. If that
> makes sense.

Not a lot. Could you *show* us what you're talking about, like
copy-and-paste from a psql session? Also, what does psql's "\d table"
show as the table's schema?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-08-15 13:20:35 Re: DB2->PostgreSQL question on user permissions and views
Previous Message Hubert depesz Lubaczewski 2002-08-15 09:48:40 logs of postgresql and pid-stamping. possible improvement?