pgsql/src/backend/postmaster postmaster.c - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/postmaster postmaster.c
Date
Msg-id 200102080035.f180ZAG09194@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/02/07 19:35:10

Modified files:
    src/backend/postmaster: postmaster.c

Log message:
    When launching a child backend, take care to close file descriptors for
    any other client connections that may exist (which would only happen if
    another client is currently in the authentication cycle).  This avoids
    wastage of open descriptors in a child.  It might also explain peculiar
    behaviors like not closing connections when expected, since the kernel
    will probably not signal EOF as long as some other backend is randomly
    holding open a reference to the connection, even if the client went away
    long since ...


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/libpq Tag: REL7_0_PATCHES cr ...
Next
From: Hiroshi Inoue
Date:
Subject: pgsql/src/interfaces/odbc connection.c