mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Fix compiler warning.
It is meaningless to declare a pass-by-value return type const.
This commit is contained in:
parent
763ba1b0f2
commit
e38da8d6b1
@ -45,7 +45,7 @@
|
||||
|
||||
static void RangeVarCallbackForPolicy(const RangeVar *rv,
|
||||
Oid relid, Oid oldrelid, void *arg);
|
||||
static const char parse_row_security_command(const char *cmd_name);
|
||||
static char parse_row_security_command(const char *cmd_name);
|
||||
static ArrayType* rls_role_list_to_array(List *roles);
|
||||
|
||||
/*
|
||||
@ -102,7 +102,7 @@ RangeVarCallbackForPolicy(const RangeVar *rv, Oid relid, Oid oldrelid,
|
||||
* 'insert', 'update' and 'delete'.
|
||||
*
|
||||
*/
|
||||
static const char
|
||||
static char
|
||||
parse_row_security_command(const char *cmd_name)
|
||||
{
|
||||
char cmd;
|
||||
|
Loading…
Reference in New Issue
Block a user