> According to the documentation,
> http://www.postgresql.org/docs/current/interactive/sql-truncate.html ,
> only the owner can truncate a table. Which means the non-owner must
> either log in/ switch roles as the owner, or they can just run a DELETE.
Well that's interesting. From a security standpoint, what's the
difference between an unqualified DELETE and a TRUNCATE?
Also interesting to note that TRUNCATE is transaction safe, but not MVCC
safe. Good to know, good to know ...
Kevin
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
No comments:
Post a Comment