Re: 7.5 backend crash - Mailing list pgsql-hackers

From Tom Lane
Subject Re: 7.5 backend crash
Date
Msg-id 9879.1090876956@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.5 backend crash  (Greg Stark <gsstark@mit.edu>)
Responses Re: 7.5 backend crash  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Gaetano Mendola <mendola@bigfoot.com> writes:
>> kalman=#  insert into test values (1 ,(2,(3,(4,(5,(6, null))))));
>> INSERT 33639 1
>> kalman=# select * from  test;
>> ~ a |                         b
>> ---+----------------------------------------------------
>> ~ 1 | (2,"(3,""(4,""""(5,""""""""(6,)"""""""")"""")"")")
>> (1 row)

> Omg.....

> This is pretty cool and frankly amazing that it works.

It shouldn't work --- the ALTER TABLE code should reject it.  Looks like
there are a few holes to be plugged here ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Binary Cursors, and the COPY command
Next
From: Tom Lane
Date:
Subject: Re: WARNING: buffer refcount leak