Re: 7.5 backend crash - Mailing list pgsql-hackers

From Greg Stark
Subject Re: 7.5 backend crash
Date
Msg-id 87smbev6lb.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: 7.5 backend crash  (Gaetano Mendola <mendola@bigfoot.com>)
Responses Re: 7.5 backend crash  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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.

But I don't really think it's tenable is it? What happens when you try to
pg_dump this? I expect other tools will have trouble dealing with this as
well.

-- 
greg



pgsql-hackers by date:

Previous
From: Brian Hirt
Date:
Subject: WARNING: buffer refcount leak
Next
From: Simon Riggs
Date:
Subject: Re: CVS web interface error