Skip to content

Commit e38da8d

Browse files
committed
Fix compiler warning.
It is meaningless to declare a pass-by-value return type const.
1 parent 763ba1b commit e38da8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/policy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
static void RangeVarCallbackForPolicy(const RangeVar *rv,
4747
Oid relid, Oid oldrelid, void *arg);
48-
static const char parse_row_security_command(const char *cmd_name);
48+
static char parse_row_security_command(const char *cmd_name);
4949
static ArrayType* rls_role_list_to_array(List *roles);
5050

5151
/*
@@ -102,7 +102,7 @@ RangeVarCallbackForPolicy(const RangeVar *rv, Oid relid, Oid oldrelid,
102102
* 'insert', 'update' and 'delete'.
103103
*
104104
*/
105-
static const char
105+
static char
106106
parse_row_security_command(const char *cmd_name)
107107
{
108108
char cmd;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy