Libpq question related to allocated resources

2022-06-27 Thread Karl Denninger
of the environment itself) is perfectly fine but writing it, directly or indirectly, is NOT.  A quick grep implies that indeed it may in backend/libpq/auth.c at least, but I do not have ENABLE_GSS defined in my configuration so that code /shouldn't /be there. -- Karl Denninger k...@dennin

Re: Libpq question related to allocated resources

2022-06-28 Thread Karl Denninger
On 6/27/2022 23:22, Tom Lane wrote: Karl Denninger writes: But -- I still have a /lot /of memory out on the heap according to jemalloc stats that is not being deallocated, and what's worse is that if I rig the code to call PQfinish and then PQconnect once again I get /even more /imbal

Re: Libpq question related to allocated resources

2022-07-02 Thread Karl Denninger
On 6/27/2022 23:22, Tom Lane wrote: Karl Denninger writes: But -- I still have a /lot /of memory out on the heap according to jemalloc stats that is not being deallocated, and what's worse is that if I rig the code to call PQfinish and then PQconnect once again I get /even more /imbal

FreeBSD 12 and Postgres build failures

2019-03-19 Thread Karl Denninger
g: cast to pointer from integer of different size [-Wint-to-pointer-cast]    res = secure_raw_read(((Port *) BIO_get_data(h)), buf, size);       ^ Has anyone looked into and dealt with this yet or have suggestions? -- Karl Denninger k...@denninger.net <mailto:k...@denninger.ne

Re: FreeBSD 12 and Postgres build failures

2019-03-19 Thread Karl Denninger
On 3/19/2019 17:12, Tom Lane wrote: > Karl Denninger writes: >> Both 10.7 and 11.2 fail on FreeBSD 12-STABLE if --with-openssl is part >> of the configure string. > Hmmm ... I don't have that exact configuration handy to try, but > we know that PG works against OpenSS

Re: FreeBSD 12 and Postgres build failures

2019-03-19 Thread Karl Denninger
On 3/19/2019 18:15, Andrew Gierth wrote: >>>>>> "Karl" == Karl Denninger writes: > Karl> That was on a bare, new grab of the source from your repository and a > Karl> straight-up run of "./configure --with-openssl --with-perl", then > "

Re: FreeBSD 12 and Postgres build failures

2019-03-19 Thread Karl Denninger
On 3/19/2019 21:12, Andrew Gierth wrote: >>>>>> "Karl" == Karl Denninger writes: > >> That's a configure line that has never worked on FreeBSD: > >> > >> % ./configure --with-openssl --with-perl > >> [...] > >>