[BUGS]

2000-08-14 Thread Darcy Buskermolen
Here is an other set of strange bugs I've discovered relateing to dates.. SELECT date_part('day', ('2000-11-1 0:00'::datetime + '-1day'))::int4 AS days_in_month; days 31 (1 row) SELECT date_part('day', (('2000-10-1 0:00'::datetime + '1 month') + '-1 day'))::int4 AS days_in_month; SEL

[BUGS] date bug (again)

2000-08-14 Thread Darcy Buskermolen
let me try this again... Here is an other set of strange bugs I've discovered relating to dates. this bug only rears it's head for 1 day a year form what I can find.. october 31'st, the intent of the queries is to get the last day of a month.. SELECT date_part('day', ('2000-11-1 0:00'::date

Re: [BUGS] Segmentation fault.

2000-08-14 Thread Andrei N.Sobchuck
> "Andrei N.Sobchuck" <[EMAIL PROTECTED]> writes: > > But one query fails when I use search on boolean field. > > What's the query exactly? I don't see any evidence in your backtrace > that the function is being invoked, so I doubt that has anything to do > with the problem. I'm using PostgreSQL

Re: [BUGS] date bug (again)

2000-08-14 Thread Philip Warner
At 22:38 14/08/00 -0700, Darcy Buskermolen wrote: >let me try this again... > > >Here is an other set of strange bugs I've discovered relating to dates. > >SELECT date_part('day', ('2000-11-1 0:00'::datetime + '-1day'))::int4 AS >days_in_month; > > 31 > > >SELECT date_part('day', (('2000-10-1 0:0

Re: [BUGS] date bug (again)

2000-08-14 Thread Darcy Buskermolen
this happens on FreeBSD 3.5-STABLE, running both 6.5.3 and 7.0.2 as well as FreeBSD 2.28-RELEASE running 6.4.(something) At 03:52 PM 8/15/00 +1000, you wrote: >At 22:38 14/08/00 -0700, Darcy Buskermolen wrote: >>let me try this again... >> >> >>Here is an other set of strange bugs I've discovered