1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-03 01:21:48 +03:00
Andrew Dunstan e72f787ea6 Prevent CRLF conversion of inputs in json_parser test module
Do this by opening the file in PG_BINARY_R mode. This prevents us from
getting wrong byte count from stat().

Per complaint from Andres Freund

Discussion: https://postgr.es/m/20240707052030.r77hbdkid3mwksop@awork3.anarazel.de

Backpatch to rlease 17 where this code was introduced
2024-07-09 17:34:47 -04:00
..
2024-07-08 22:12:42 +09:00
2024-07-06 11:23:40 +12:00
2024-06-24 13:11:27 +02:00
2024-02-28 15:17:23 +04:00
2024-07-06 11:23:40 +12:00
2024-01-03 20:49:05 -05:00
2024-02-28 15:17:23 +04:00
2024-01-03 20:49:05 -05:00