Re: [HACKERS] Transaction safe Truncate

2002-11-15 Thread Tom Lane
Rod Taylor <[EMAIL PROTECTED]> writes: > I'd like to split cluster_rel() in cluster.c into 2 functions at line > 174. The permission checks, locking, etc will remain in cluster_rel(). > The bottom half will be turned into a function called > rebuild_rel(tableOid Oid, indexOid Oid, dataCopy bool).

[HACKERS] Transaction safe Truncate

2002-11-15 Thread Rod Taylor
Ok. Transaction safe truncate is simply transaction safe cluster without the data copy and a slightly different set of permission checks. I'd like to split cluster_rel() in cluster.c into 2 functions at line 174. The permission checks, locking, etc will remain in cluster_rel(). The bottom half