Re: ERROR: missing chunk number 0 for toast value - Mailing list pgsql-hackers

From Andres Freund
Subject Re: ERROR: missing chunk number 0 for toast value
Date
Msg-id 20140102194229.GF842@awork2.anarazel.de
Whole thread Raw
In response to Re: ERROR: missing chunk number 0 for toast value  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: ERROR: missing chunk number 0 for toast value  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2014-01-02 21:21:15 +0200, Heikki Linnakangas wrote:
> I don't see any other realistic way to fix this, however, so maybe we
> should just bite the bullet and do it anyway.

We could remember the subtransaction a variable was created in and error
out if it the creating subtransaction aborted and it's not a
pass-by-value datum or similar.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: proposal: multiple read-write masters in a cluster with wal-streaming synchronization
Next
From: Andres Freund
Date:
Subject: Re: proposal: multiple read-write masters in a cluster with wal-streaming synchronization