pgsql: Prevent CRLF conversion of inputs in json_parser test module

2024-07-09 Thread Andrew Dunstan
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/[email protected] Backpatc

pgsql: Prevent CRLF conversion of inputs in json_parser test module

2024-07-09 Thread Andrew Dunstan
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/[email protected] Backpatc