Truncate table - Mailing list pgsql-novice

From Burak Seydioglu
Subject Truncate table
Date
Msg-id 1b8a973c0708231508w3e1f4887n180b1424a6eb5021@mail.gmail.com
Whole thread Raw
Responses Re: Truncate table
List pgsql-novice
I have been reading about transactional DDLs at
http://archives.postgresql.org/pgsql-general/2007-06/msg00190.php.
This discussion seems to be recent though; is this feature available
in version 7.4?

In addition, CREATE TABLE, ALTER TABLE, DROP TABLE are all DDL
statements, how about TRUNCATE TABLE? The manual says it has the same
effect as DELETE so I think it is a DML but want to be sure.

Last of all, does a TRUNCATE TABLE statement issue a ROW EXCLUSIVE
lock as DELETE does?

Thank you,

Burak

pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Recovering databases
Next
From: Tom Lane
Date:
Subject: Re: Truncate table