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