Re: bug ? updates and insert crash the backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laurent Perez <downloader(at)free(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: bug ? updates and insert crash the backend
Date: 2003-03-05 19:01:42
Message-ID: 22302.1046890902@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Laurent Perez <downloader(at)free(dot)fr> writes:
> t2g_1=# explain verbose update tiers set num_siret='abcd' where
> num_tiers='33';
> message type 0x44 arrived from server while idle
> server closed the connection unexpectedly

This turns out to be a planner bug associated with inherited tables ---
7.3.* fails if an UPDATE or DELETE has an inherited target, and
additional inherited tables are used in the query.

The patch can be found at
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/optimizer/plan/planner.c
if anyone else needs it.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Moreno 2003-03-05 19:07:27 Re: Is It possible to fixe a table in mermory ?
Previous Message Richard Huxton 2003-03-05 18:51:00 Re: a date_part question