Postgres backend crash on alpha

From: Mark Volpe <volpe(dot)mark(at)epamail(dot)epa(dot)gov>
To: pgsql-sql(at)postgresql(dot)org
Subject: Postgres backend crash on alpha
Date: 2000-02-16 16:35:46
Message-ID: 38AAD1E2.BBFDFD37@epamail.epa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

The following sequence causes the backend
to crash:

CREATE TABLE test1 (a text);
CREATE TABLE test2 (b text);

CREATE RULE test_insert AS ON INSERT TO test1
DO INSTEAD INSERT INTO test2 VALUES (NEW.a);

INSERT INTO test1 VALUES ('crash');

For some reason this only occurs on the alpha platform
(tried on alpha and linux).

If I try this using ints it works fine, though. And the use
of "NEW" seems to be what's screwing it up.

Is there a fix for this?
It is crashing in the _copyConst function on this line:

length = VARSIZE(from->constvalue)

Thanks,
Mark

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2000-02-16 16:58:07 Re: [SQL] Postgres backend crash on alpha
Previous Message Peter Eisentraut 2000-02-16 16:17:14 Re: [SQL] Re: BSC