Keyword table constness in jsonpath scanner. - Mailing list pgsql-hackers

From Mark G
Subject Keyword table constness in jsonpath scanner.
Date
Msg-id CAEeOP_a-Pfy=U9-f=gQ0AsB8FrxrC8xCTVq+eO71-2VoWP5cag@mail.gmail.com
Whole thread Raw
Responses Re: Keyword table constness in jsonpath scanner.
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: jsonpath
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Add support for hyperbolic functions, as well as log10().