Re: [HACKERS] min() and max() causing aborts

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: michael(dot)davis(at)prevuenet(dot)com (Michael Davis)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] min() and max() causing aborts
Date: 1999-03-20 12:41:03
Message-ID: 199903201241.HAA18443@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I pulled the latest version of the source tree yesterday and complied
> PosgtreSQL 6.5. The get the following error on any select statement
> containing min() and max():
>
> mp=> select max(addressid) from addresses;
> 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.
>
>
> I am running Red Hat 5.1.
>
> FYI, I also noticed failures in the regressions tests for int2 and int4 and
> some others (int8 was okay). I did not dig very deep into this but the only
> error I could see with int2 and int4 occurred when the value that was being
> inserted into the table was too large for the field. For example, inserting
> 100000 into an int2 field.
>

I recommend a clean compile and initdb to see if that fixes it. Do you
see anything in the postmaster log file?

--
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-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-20 12:48:29 Re: [HACKERS] 6.5 Feature list and summary
Previous Message Michael Davis 1999-03-20 07:08:33 min() and max() causing aborts