Fix compiler warning.

It is meaningless to declare a pass-by-value return type const.
This commit is contained in:
Robert Haas 2014-09-22 16:32:35 -04:00
parent 763ba1b0f2
commit e38da8d6b1

View File

@ -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;