mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
Fix compiler warning.
It is meaningless to declare a pass-by-value return type const.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user