Re: [GENERAL] backend crashing with INTERSECT / ORDER BY

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Dirk Lutzebaeck <lutzeb(at)aeccom(dot)com>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] backend crashing with INTERSECT / ORDER BY
Date: 1999-09-27 18:50:53
Message-ID: 199909271850.OAA11558@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> So I tried INTERSECT with ORDER BY and it crashes on 6.5 and 6.5.1:
>
> [csmaster(at)kamet release0]$ psql cs1
> Welcome to the POSTGRESQL interactive sql monitor:
> Please read the file COPYRIGHT for copyright terms of POSTGRESQL
> [PostgreSQL 6.5.1 on i686-pc-linux-gnu, compiled by gcc egcs-2.91.66]
>
> type \? for help on slash commands
> type \q to quit
> type \g or terminate with semicolon to execute query
> You are currently connected to the database: cs1
>
> cs1=> SELECT envelope FROM docobj
> cs1-> WHERE attrid=5
> cs1-> INTERSECT
> cs1-> SELECT envelope FROM docobj
> cs1-> WHERE attrid=6
> cs1-> ORDER BY attrid DESC
> cs1-> ;
> pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally
> before or while processing the request.
> We have lost the connection to the backend, so further processing is impossible. Terminating.
>

Not sure. I just tried this:

test=> select relname from pg_class intersect select relname from
pg_class order by relname;
ERROR: get_sortgroupclause_expr: ORDER/GROUP BY expression not found in
targetlist

Not sure what this means either.

--
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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-09-27 18:52:06 Re: [GENERAL] Error during 'vacuum analyze'
Previous Message Bruce Momjian 1999-09-27 18:17:11 Re: [GENERAL] Anyone doing a native NT port?