Hi,It seems error code checking in pgtls_init() should follow the sameconvention as PG codebase adopts - i.e. the non-zero error code should bereturned (instead of hard coded -1).
Please see the attached patch.
Thanks