Re: VLDB Features - Mailing list pgsql-hackers

From Tom Lane
Subject Re: VLDB Features
Date
Msg-id 7907.1197704696@sss.pgh.pa.us
Whole thread Raw
In response to Re: VLDB Features  (NikhilS <nikkhils@gmail.com>)
Responses Re: VLDB Features  (NikhilS <nikkhils@gmail.com>)
List pgsql-hackers
NikhilS <nikkhils@gmail.com> writes:
> Any errors which occur before doing the heap_insert should not require
> any recovery according to me.

A sufficient (though far from all-encompassing) rejoinder to that is
"triggers and CHECK constraints can do anything".

> The overhead of having a subtransaction per row is a very valid concern. But
> instead of using a per insert or a batch insert substraction, I am
> thinking that we can start off a subtraction and continue it till we
> encounter a failure.

What of failures that occur only at (sub)transaction commit, such as
foreign key checks?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Negative LIMIT and OFFSET?
Next
From: "Gokulakannan Somasundaram"
Date:
Subject: Re: EXPLAIN ANALYZE printing logical and hardware I/O per-node