Re: [GENERAL] Doing INTERVAL with NOW() versus casted timestamp

2013-02-16 Thread John Shott
Wells: The now() function returns not only the current date, but the current time. So, now() - 24 hours returns yesterday at this time. But, yesterday at 00:00:00 is not greater than or equal to yesterday at the current time (unless, of course, you happened to run this at precisely

Re: [GENERAL] Postgres no longer starts

2012-05-30 Thread John Shott
Bart: Failing a more definitive diagnostic approach, I suggest that you post your entire pgstartup.log rather than just the error message. My guess is that the position in that log where the error occurs will give folks who are more familiar with the startup sequence a reasonable idea of

[GENERAL] Problems with CREATE CAST

2010-03-21 Thread John Shott
Postgresql Community: We have an Java/JDBC application that runs against a range of versions of Postgresql from 7.4 though 8.3 and are now moving to 8.4. Because our databases will never approach 4GB in size we still use OIDs ... that is, in newer versions of Postgresql we create OIDs on all

Re: [GENERAL] Problems with CREATE CAST

2010-03-21 Thread John Shott
Tom Lane et al: Thank you for your comments and observations. In particular, you make me realize that I likely don't know how the JDBC connection is handling things. I find that I often tend to assume that what I see and use on the interactive command like is exactly what is coming across