Re: [BUGS] General Bug Report: backend closes with aggregate functions on views

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: richip(at)mozcom(dot)com
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: [BUGS] General Bug Report: backend closes with aggregate functions on views
Date: 1999-03-17 16:15:30
Message-ID: 199903171615.LAA10094@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> It seems the pg backend disconnects a connection when a user
> performs an aggregate function on a view. In one instance, doing
> so killed the backend. I can't seem to duplicate killing the
> backend, but is this proper behavior for the backend?
>
> --------------------------------------------------------------------------
>
> Test Case: ---------- create table a (b char(20) not null, c
> char(10) not null, d int, primary key (b, c)); create view d as
> select b,sum(d) from a group by b; select max(sum) from d;

This is a know problem. It is on the TODO list.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Unprivileged user 1999-03-18 13:34:57 General Bug Report: Bug in optimizer
Previous Message Unprivileged user 1999-03-17 05:33:03 General Bug Report: backend closes with aggregate functions on views