Обсуждение: pgsql: Teach sepgsql about database labels.

Поиск
Список
Период
Сортировка

pgsql: Teach sepgsql about database labels.

От
Robert Haas
Дата:
Teach sepgsql about database labels.

This is still a bit of a hack, but it's better than the old way, for sure.

KaiGai Kohei, with one change by me to make it compile

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/291873c1554ceecc71a81c25aef4f1260c15c222

Modified Files
--------------
contrib/sepgsql/Makefile   |    2 +-
contrib/sepgsql/database.c |   88 ++++++++++++++++++++++++++++++++++++++++++++
contrib/sepgsql/hooks.c    |    5 ++
contrib/sepgsql/label.c    |   26 +++++++++++--
contrib/sepgsql/schema.c   |   14 +++----
contrib/sepgsql/sepgsql.h  |    6 +++
6 files changed, 128 insertions(+), 13 deletions(-)