Bruce Momjian a9819ca253 The attached patch cleans up the implementation of the TRUNCATE command;
in the current code, the authentication logic (check user, check the
relation we're operating on, etc) is done in tcop/utility.c, whereas the
actual TRUNCATE command in done in TruncateRelation() in
commands/createinh.c (which is really just a wrapper over
heap_truncate() in catalog/heap.c). This patch moves the authentication
logic into TruncateRelation(), as well as making some minor code
cleanups.

Neil Conway
2002-03-19 02:58:20 +00:00
..
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2001-11-12 01:34:50 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00
2002-03-06 06:10:59 +00:00