#
# Initial security label for SE-PostgreSQL (none-MLS)
#

# <databases>
db_database	*			system_u:object_r:sepgsql_db_t

# <schemas>
db_schema	*.*			system_u:object_r:sepgsql_schema_t

# <tables>
db_table	*.pg_catalog.*		system_u:object_r:sepgsql_sysobj_t
db_table	*.*.*			system_u:object_r:sepgsql_table_t

# <column>
db_column	*.pg_catalog.*.*	system_u:object_r:sepgsql_sysobj_t
db_column	*.*.*.*			system_u:object_r:sepgsql_table_t

# <sequences>
db_sequence	*.*.*			system_u:object_r:sepgsql_seq_t

# <views>
db_view		*.*.*			system_u:object_r:sepgsql_view_t

# <procedures>
db_procedure	*.*.*			system_u:object_r:sepgsql_proc_exec_t

# <tuples>
db_tuple	*.pg_catalog.*		system_u:object_r:sepgsql_sysobj_t
db_tuple	*.*.*			system_u:object_r:sepgsql_table_t

# <blobs>
db_blob		*.*			system_u:object_r:sepgsql_blob_t

# <language>
db_language	*.sql			system_u:object_r:sepgsql_safe_lang_t
db_language	*.plpgsql		system_u:object_r:sepgsql_safe_lang_t
db_language	*.pltcl			system_u:object_r:sepgsql_safe_lang_t
db_language	*.plperl		system_u:object_r:sepgsql_safe_lang_t
db_language	*.*			system_u:object_r:sepgsql_lang_t
