aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/encode.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-01-13 16:23:15 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-01-13 16:23:15 -0500
commit5a6f9bce8dabd371bdb4e3db5dda436f7f0a680f (patch)
tree157a9b01c2cf5327c509bfa7b80822bdb799b42e /src/backend/utils/adt/encode.c
parent8b411b8ff41566a1aa601d1f05aeebbebbdb4a54 (diff)
downloadpostgresql-5a6f9bce8dabd371bdb4e3db5dda436f7f0a680f.tar.gz
postgresql-5a6f9bce8dabd371bdb4e3db5dda436f7f0a680f.zip
Mark inet_server_addr() and inet_server_port() as parallel-restricted.
These need to be PR because they access the MyProcPort data structure, which doesn't get copied to parallel workers. The very similar functions inet_client_addr() and inet_client_port() are already marked PR, but somebody missed these. Although this is a pre-existing bug, we can't readily fix it in the back branches since we can't force initdb. Given the small usage of these two functions, and the even smaller likelihood that they'd get pushed to a parallel worker anyway, it doesn't seem worth the trouble to suggest that DBAs should fix it manually. Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoAT4aHP0Uxq91qpD7NL009tnUYQe-b14R3MnSVOjtE71g@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/encode.c')
0 files changed, 0 insertions, 0 deletions