postgresql/src
Michael Paquier 10a525230f Fix some memory leaks and improve restricted token handling on Windows
The leaks have been detected by a Coverity run on Windows.  No backpatch
is done as the leaks are minor.

While on it, make restricted token creation more consistent in its error
handling by logging an error instead of a warning if missing
advapi32.dll, which was missing in the NT4 days.  Any modern platform
should have this DLL around.  Now, if the library is not there, an error
is still reported back to the caller, and nothing is done do there is no
behavior change done in this commit.

Author: Ranier Vilela
Discussion: https://postgr.es/m/CAEudQApa9MG0foPkgPX87fipk=vhnF2Xfg+CfUyR08h4R7Mywg@mail.gmail.com
2020-01-27 11:02:05 +09:00
..
backend Fix some memory leaks and improve restricted token handling on Windows 2020-01-27 11:02:05 +09:00
bin Refactor XLogReadRecord(), adding XLogBeginRead() function. 2020-01-26 11:39:00 +02:00
common Fix some memory leaks and improve restricted token handling on Windows 2020-01-27 11:02:05 +09:00
fe_utils Reduce size of backend scanner's tables. 2020-01-13 15:04:31 -05:00
include Refactor XLogReadRecord(), adding XLogBeginRead() function. 2020-01-26 11:39:00 +02:00
interfaces Fix out-of-memory handling in ecpglib. 2020-01-19 19:15:15 -05:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Reduce size of backend scanner's tables. 2020-01-13 15:04:31 -05:00
port Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
template Fix compiler warning for ppoll() on Cygwin 2019-12-22 23:20:00 +01:00
test Fix EXPLAIN (SETTINGS) to follow policy about when to print empty fields. 2020-01-26 16:32:19 -05:00
timezone Update copyrights for 2020 2020-01-01 12:21:45 -05:00
tools Add exclusion to headercheck 2020-01-24 12:23:06 +01:00
tutorial Update copyrights for 2020 2020-01-01 12:21:45 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Add support for automatically updating Unicode derived files 2020-01-09 10:08:14 +01:00
Makefile.shlib Clean up MinGW def file generation 2019-10-20 10:19:13 +02:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00