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

From Alexander Korotkov
Subject Re: Keyword table constness in jsonpath scanner.
Date
Msg-id CAPpHfdtiAOUM1+EO-P9_5jRO=PFYFbNajO3FUN+XH+jrGz9Adg@mail.gmail.com
Whole thread Raw
In response to Keyword table constness in jsonpath scanner.  (Mark G <markg735@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Offline enabling/disabling of data checksums
Next
From: Dean Rasheed
Date:
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists