Thread
Commits
-
Apply const qualifier to keywords of jsonpath_scan.l
- aa1b7f386687 12.0 landed
-
Keyword table constness in jsonpath scanner.
Mark G <markg735@gmail.com> — 2019-03-16T18:54:18Z
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
-
Re: Keyword table constness in jsonpath scanner.
Alexander Korotkov <a.korotkov@postgrespro.ru> — 2019-03-17T09:52:56Z
On Sat, Mar 16, 2019 at 10:47 PM Mark G <markg735@gmail.com> wrote: > 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. Looks good to me. Pushed, thanks. ------ Alexander Korotkov Postgres Professional: http://www.postgrespro.com The Russian Postgres Company