pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Mamin <pm@sky.ru>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Postres falls down on "having"
Date: Tue, 10 Aug 1999 10:55:32 -0400
Message-ID: <5141.934296932@sss.pgh.pa.us> (raw)
In-Reply-To: <13482.990810@sky.ru>

Paul Mamin <pm@sky.ru> writes:
> And when result is not empty - everything's Ok.
> But when it's empty then [ backend crashes ]

I can reproduce this bug with the current development sources.
Will look into it.  A quick look at a backtrace suggests that
the problem is triggered by the "sum(int8(inb))>=maxinb" part
of the HAVING clause.  You might be able to work around it if
you can use int4 or float instead of int8 ...

			regards, tom lane



view thread (2+ messages)

Message-ID: <5141.934296932@sss.pgh.pa.us>
Permalink:  ../5141.934296932@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5141.934296932@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pm@sky.ru
  Subject: Re: [SQL] Postres falls down on "having"
  In-Reply-To: <5141.934296932@sss.pgh.pa.us>
  References: <13482.990810@sky.ru> <5141.934296932@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox