Re: 7.5 backend crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.5 backend crash
Date: 2004-07-26 21:22:36
Message-ID: 9879.1090876956@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Stark <gsstark(at)mit(dot)edu> writes:
> Gaetano Mendola <mendola(at)bigfoot(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-26 21:52:03 Re: WARNING: buffer refcount leak
Previous Message Oliver Jowett 2004-07-26 21:17:45 Re: Binary Cursors, and the COPY command