return correct error code from pgtls_init - Mailing list pgsql-hackers

From Zhihong Yu
Subject return correct error code from pgtls_init
Date
Msg-id CALNJ-vRAtAZRFbpLdysaL-QL2qPeUJvp8=WLvp5df0XcUw9E8g@mail.gmail.com
Whole thread Raw
Responses Re: return correct error code from pgtls_init
List pgsql-hackers
Hi,
It seems error code checking in pgtls_init() should follow the same convention as PG codebase adopts - i.e. the non-zero error code should be returned (instead of hard coded -1).

Please see the attached patch.

Thanks
Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: security_definer_search_path GUC
Next
From: Tom Lane
Date:
Subject: Re: CALL versus procedures with output-only arguments