pgsql/src backend/catalog/heap.c backend/comma ...

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian - CVS)
Тема pgsql/src backend/catalog/heap.c backend/comma ...
Дата
Msg-id 20020319025820.528044758F1@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/03/18 21:58:20

Modified files:
    src/backend/catalog: heap.c
    src/backend/commands: creatinh.c
    src/backend/tcop: utility.c
    src/include/catalog: heap.h
    src/include/commands: creatinh.h

Log message:
    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


В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql/src/backend/utils/adt ri_triggers.c
Следующее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql/src/bin/psql help.c