pgsql: Fix overflow in Windows replacement pg_pread/pg_pwrite.

2024-03-02 Thread Thomas Munro
Fix overflow in Windows replacement pg_pread/pg_pwrite. When calling the Windows file I/O APIs there is an implicit conversion from size_t to DWORD, which could overflow. Clamp the size at 1GB to avoid that. Not a really a live bug as we don't expect anything in PostgreSQL to call with such larg

pgsql: Documentation update for Standard Collations.

2024-03-02 Thread Jeff Davis
Documentation update for Standard Collations. Correct out-of-date text that said the "default" collation is always based on LC_COLLATE and LC_CTYPE. Also reformat into a list to make it easier to understand and compare the available collations, and briefly document the stability characteristics o