pgsql: Refactor seclabel.c to use the new check_object_ownership functi

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Refactor seclabel.c to use the new check_object_ownership functi
Дата
Msg-id E1PvdUC-0005NU-DP@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor seclabel.c to use the new check_object_ownership function.

This avoids duplicate (and not-quite-matching) code, and makes the logic
for SECURITY LABEL match COMMENT and ALTER EXTENSION ADD/DROP.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/efa415da8c0fb8c1c0bc50faebac430f8b917571

Modified Files
--------------
src/backend/commands/seclabel.c |   90 ++++++++-------------------------------
1 files changed, 18 insertions(+), 72 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Don't allow CREATE TABLE AS to create a column with invalid coll
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Create extension infrastructure for the core procedural language