Re: Proposal: TRUNCATE TABLE table RESTRICT - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Proposal: TRUNCATE TABLE table RESTRICT
Date
Msg-id Pine.LNX.4.21.0006101913180.9195-100000@localhost.localdomain
Whole thread Raw
In response to Re: Proposal: TRUNCATE TABLE table RESTRICT  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii writes:

> That would be better. I am just wondering how the checkings hurt the
> speed of TRUNCATE (if TRUNCATE is that slow, why we need it:-).

You can make any code arbitrarily fast if it doesn't have to behave
correctly. :-)

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Current initdb broken.
Next
From: Peter Eisentraut
Date:
Subject: Re: Bit strings