forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf7bd0a3
committed
Prevent CRLF conversion of inputs in json_parser test module
Do this by opening the file in PG_BINARY_R mode. This prevents us fromgetting wrong byte count from stat().Per complaint from Andres FreundDiscussion:https://postgr.es/m/20240707052030.r77hbdkid3mwksop@awork3.anarazel.deBackpatch to rlease 17 where this code was introduced1 parent896cd26 commitf7bd0a3
File tree
2 files changed
+2
-2
lines changed- src/test/modules/test_json_parser
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
| 127 | + | |
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
| 58 | + | |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
|
0 commit comments
Comments
(0)