mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
26 lines
738 B
C
26 lines
738 B
C
/*--------------------------------------------------------------------------
|
|
*
|
|
* test_rls_hooks.h
|
|
* Definitions for RLS hooks
|
|
*
|
|
* Copyright (c) 2015-2024, PostgreSQL Global Development Group
|
|
*
|
|
* IDENTIFICATION
|
|
* src/test/modules/test_rls_hooks/test_rls_hooks.h
|
|
*
|
|
* -------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef TEST_RLS_HOOKS_H
|
|
#define TEST_RLS_HOOKS_H
|
|
|
|
#include "rewrite/rowsecurity.h"
|
|
|
|
/* Return set of permissive hooks based on CmdType and Relation */
|
|
extern List *test_rls_hooks_permissive(CmdType cmdtype, Relation relation);
|
|
|
|
/* Return set of restrictive hooks based on CmdType and Relation */
|
|
extern List *test_rls_hooks_restrictive(CmdType cmdtype, Relation relation);
|
|
|
|
#endif
|