PL/Python: Fix return in the middle of PG_TRY() block. - Mailing list pgsql-hackers

From Xing Guo
Subject PL/Python: Fix return in the middle of PG_TRY() block.
Date
Msg-id CACpMh+CMsGMRKFzFMm3bYTzQmMU5nfEEoEDU2apJcc4hid36AQ@mail.gmail.com
Whole thread Raw
Responses Re: PL/Python: Fix return in the middle of PG_TRY() block.
List pgsql-hackers
Hi hackers,

I was running static analyser against PostgreSQL and found there're 2
return statements in PL/Python module which is not safe. Patch is
attached.

-- 
Best Regards,
Xing

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Add new GUC createrole_self_grant.
Next
From: Robert Haas
Date:
Subject: Re: allowing for control over SET ROLE