Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas2024-08-06 20:03:43 +0000
committerHeikki Linnakangas2024-08-06 20:03:43 +0000
commit1e35951e71d37ab6716fa55ba399fbe6df4a7417 (patch)
treed3b185dcf4afdbfd6817a6d161502cf79a3bef3d /src/common/jsonapi.c
parenta890ad214942c9eab1b2f0c6997e7dc114f99e71 (diff)
Turn a few 'validnsps' static variables into locals
There was no need for these to be static buffers, local variables work just as well. I think they were marked as 'static' to imply that they are read-only, but 'const' is more appropriate for that, so change them to const. To make it possible to mark the variables as 'const', also add 'const' decorations to the transformRelOptions() signature. Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions