Thread: Postgres 6.5.3 and truncate ...

Postgres 6.5.3 and truncate ...

From
Marten Feldtmann
Date:
Actually I never managed this command to be executed by the
database:

testme=> create table mama (a char(15))
testme-> \g
CREATE
testme=> truncate mama
testme-> \g
ERROR:  parser: parse error at or near "truncate"
testme=> select * from mama
testme-> \g
a
-
(0 rows)

testme=> truncate table mama
testme-> \g
ERROR:  parser: parse error at or near "truncate"
testme=>






Marten