Keyword table constness in jsonpath scanner.
Mark G <markg735@gmail.com>
From: Mark G <markg735@gmail.com>
To: pgsql-hackers@postgresql.org
Date: 2019-03-16T18:54:18Z
Lists: pgsql-hackers
Attachments
- constify-jsonpath-keywords.patch (text/x-patch) patch
Hello all, While looking over the new jsonpath stuff I noticed the keyword table wasn't declared const. Shouldn't the table and the actual keyword strings both be declared const? Perhaps something like the attached (untested) patch. -Mark
Commits
-
Apply const qualifier to keywords of jsonpath_scan.l
- aa1b7f386687 12.0 landed