mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Make nullSemAction const, add 'const' decorators to related functions
To make it more clear that these should never be modified. Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
This commit is contained in:
@@ -514,7 +514,7 @@ static JsonParseErrorType transform_string_values_scalar(void *state, char *toke
|
||||
* returned when escontext is an ErrorSaveContext).
|
||||
*/
|
||||
bool
|
||||
pg_parse_json_or_errsave(JsonLexContext *lex, JsonSemAction *sem,
|
||||
pg_parse_json_or_errsave(JsonLexContext *lex, const JsonSemAction *sem,
|
||||
Node *escontext)
|
||||
{
|
||||
JsonParseErrorType result;
|
||||
|
||||
Reference in New Issue
Block a user