Hannu Krosing <hannu(at)tm(dot)ee> writes:
> Btw, does the right to TRUNCATE come with GRANT DELETE, or must one be a
> superuser to TRUNCATE ?
You have to own the table (or be superuser of course). This implies the
right to drop its triggers, so TRUNCATE could be seen as dropping
triggers, DELETE, recreate triggers.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Daniel Baldoni||Date: 2004-07-27 03:27:06|
|Subject: Re: Triggers on TRUNCATE?|
|Previous:||From: pgsql||Date: 2004-07-27 02:06:28|
|Subject: Re: Binary Cursors, and the COPY command|