[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi!
>
> Can anybody tell me, what I'm doing so wrong,
> that the backend needs to close the connection?
> I've got a view that gives me a total of costs for
> each day, which looks like this:
>
> create view view_test AS
> select date(datum_zeit),sum(betrag) AS "summe"
> from anrufe_isdn where richtung='True'
> AND date(datum_zeit)>date(timemi(now() ::datetime, '30 day' ::timespan))
> group by date(datum_zeit);
We have some problems with aggregates in views, I think.
The TODO list says:
* views containing aggregates sometimes fail(Jan)
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026