postgresql/src/backend/postmaster
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
..
Makefile Partially deduplicate interrupt handling for background processes. 2019-12-17 13:14:28 -05:00
autovacuum.c Allow vacuum command to process indexes in parallel. 2020-01-20 07:57:49 +05:30
bgworker.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
bgwriter.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
checkpointer.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fork_process.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
interrupt.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pgarch.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pgstat.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
postmaster.c Fix some memory leaks and improve restricted token handling on Windows 2020-01-27 11:02:05 +09:00
startup.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
syslogger.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
walwriter.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00