Thread: pgsql: Fix Windows-only postmaster code to reject a connection request

pgsql: Fix Windows-only postmaster code to reject a connection request

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix Windows-only postmaster code to reject a connection request and continue,
rather than elog(FATAL), when there is no more room in ShmemBackendArray.
This is a security issue since too many connection requests arriving close
together could cause the postmaster to shut down, resulting in denial of
service.  Reported by Yoshiyuki Asaba, fixed by Magnus Hagander.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.478 -> r1.479)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.478&r2=1.479)