diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-07-22 09:28:01 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-07-22 09:28:01 +0900 |
commit | 2d8ef5e24fd3d38ffc2379ca32eaeef8c9eee1a7 (patch) | |
tree | b71feeb77aa2b2e0710f30dcb573fdfaad18e488 /src/backend/utils/adt/jsonb.c | |
parent | 5ec2c529f5537a5f5d5c929c49a5a2af2e4feda7 (diff) | |
download | postgresql-2d8ef5e24fd3d38ffc2379ca32eaeef8c9eee1a7.tar.gz postgresql-2d8ef5e24fd3d38ffc2379ca32eaeef8c9eee1a7.zip |
Add new error code for "file name too long"
This new error code, named file_name_too_long, maps internally to the
errno ENAMETOOLONG to produce a proper error code rather than an
internal code under errcode_for_file_access(). This error code can be
reached with some SQL command patterns, like a snapshot file name.
Reported-by: Alexander Lakhin
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/Zo4ROR9mgy8bowMo@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions