Re: [BUGS] Output of date_part('quarter', date)

2001-01-06 Thread Thomas Lockhart
> I tried to use function date_part('quarter', date) in query and I have > got wrong results... Yeesh! Don't know what I was thinking at the time, but it sure is wrong. If you have PostgreSQL built from source, then you can fix this by editing src/backend/utils/timestamp.c on or around line 2056.

Re: [BUGS] Output of date_part('quarter', date)

2001-01-03 Thread Karel Zak
> I tried to use function date_part('quarter', date) in query and I have > got wrong results - for first quarter I've got all rows from 01.01 to > 31.03 > for second - from from 01.04 to 31.07 (!!!) > for third - from from 01.08 to 30.11 (!!!) > for forth - from from 01.12 to 31.12 (!!!) >

Re: [BUGS] Output of date_part('quarter', date)

2001-01-03 Thread Thomas Lockhart
> I tried to use function date_part('quarter', date) in query and I have > got wrong results... Yeesh! Don't know what I was thinking at the time, but it sure is wrong. If you have PostgreSQL built from source, then you can fix this by editing src/backend/utils/timestamp.c on or around line 2056.

[BUGS] Output of date_part('quarter', date)

2001-01-03 Thread Denis V. Osadchy
Hello, I tried to use function date_part('quarter', date) in query and I have got wrong results - for first quarter I've got all rows from 01.01 to 31.03 for second - from from 01.04 to 31.07 (!!!) for third - from from 01.08 to 30.11 (!!!) for forth - from from 01.12 to 31.12 (!!!)