forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2d8ef5e
committed
Add new error code for "file name too long"
This new error code, named file_name_too_long, maps internally to theerrno ENAMETOOLONG to produce a proper error code rather than aninternal code under errcode_for_file_access(). This error code can bereached with some SQL command patterns, like a snapshot file name.Reported-by: Alexander LakhinReviewed-by: Daniel GustafssonDiscussion:https://postgr.es/m/Zo4ROR9mgy8bowMo@paquier.xyz1 parent5ec2c52 commit2d8ef5e
2 files changed
+5
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
439 | 439 |
| |
440 | 440 |
| |
441 | 441 |
| |
| 442 | + | |
442 | 443 |
| |
443 | 444 |
| |
444 | 445 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
929 | 929 |
| |
930 | 930 |
| |
931 | 931 |
| |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
932 | 936 |
| |
933 | 937 |
| |
934 | 938 |
| |
|
0 commit comments
Comments
(0)