pgsql: Doc: clarify a critical and undocumented aspect of simplehash.h.

2021-10-21 Thread Tom Lane
Doc: clarify a critical and undocumented aspect of simplehash.h. I just got burnt by trying to use pg_malloc instead of pg_malloc0 with this. Save the next hacker some time by not leaving this API detail undocumented. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff

Re: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.

2021-10-21 Thread Andrew Dunstan
On 10/20/21 5:48 PM, Tom Lane wrote: > Andrew Dunstan writes: >> OK, it turns out that it's better to put the addition at the end of the >> PATH, otherise initdb complains that it can't find postgres in the same >> directory. > That seems horribly unsafe, or at least prone to pulling in the > pro

pgsql: Fix SSL tests on 32-bit Perl

2021-10-21 Thread Daniel Gustafsson
Fix SSL tests on 32-bit Perl The certificate serial number generation was changed in b4c4a00ea to use the current timestamp. The testharness must thus interrogate the cert for the serialnumber using "openssl x509" which emits the serial in hex format. Converting the serial to integer format to mat