aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_spgist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-07-27 12:07:48 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-07-27 12:07:48 -0400
commit341996248e4d720556689e5fb3da7a408cf94228 (patch)
treee815a93282c2de90111f700f0072039aa4477abd /src/backend/utils/adt/network_spgist.c
parentc5c5832600e9dfa4f690d1f4af536c3fd6d5d7e9 (diff)
downloadpostgresql-341996248e4d720556689e5fb3da7a408cf94228.tar.gz
postgresql-341996248e4d720556689e5fb3da7a408cf94228.zip
Raise fixed token-length limit in hba.c.
Historically, hba.c limited tokens in the authentication configuration files (pg_hba.conf and pg_ident.conf) to less than 256 bytes. We have seen a few reports of this limit causing problems; notably, for moderately-complex LDAP configurations. Increase the limit to 10240 bytes as a low-risk stop-gap solution. In v13 and earlier, this also requires raising MAX_LINE, the limit on overall line length. I'm hesitant to make this code consume too much stack space, so I only raised that to 20480 bytes. Discussion: https://postgr.es/m/1588937.1690221208@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/network_spgist.c')
0 files changed, 0 insertions, 0 deletions