| Lists: | pgsql-hackers |
|---|
| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | scan-build plpython stuff |
| Date: | 2017-08-23 00:14:55 |
| Message-ID: | 57360908-3e89-4189-fe45-e9d0df288ce5@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Lists: | pgsql-hackers |
I wanted to make some progress cleaning up some of the warnings produced
by scan-build, so I grabbed plpython and fixed all the warnings there.
Attached are two patches, one that decorates PLy_elog() with compiler
hints similar to elog(), and one with some very minor tweaks. This
fixes all 13 or so (depending on scan-build version) warnings in plpython.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Add-compiler-hints-to-PLy_elog.patch | text/plain | 2.1 KB |
| 0002-PL-Python-Fix-remaining-scan-build-warnings.patch | text/plain | 1.7 KB |