mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Fix inconsistencies and typos in the tree, take 10
This addresses some issues with unnecessary code comments, fixes various typos in docs and comments, and removes some orphaned structures and definitions. Author: Alexander Lakhin Discussion: https://postgr.es/m/9aabc775-5494-b372-8bcb-4dfc0bd37c68@gmail.com
This commit is contained in:
@ -485,10 +485,10 @@ StreamServerPort(int family, char *hostName, unsigned short portNumber,
|
||||
* error on TCP ports.
|
||||
*
|
||||
* On win32, however, this behavior only happens if the
|
||||
* SO_EXLUSIVEADDRUSE is set. With SO_REUSEADDR, win32 allows multiple
|
||||
* servers to listen on the same address, resulting in unpredictable
|
||||
* behavior. With no flags at all, win32 behaves as Unix with
|
||||
* SO_REUSEADDR.
|
||||
* SO_EXCLUSIVEADDRUSE is set. With SO_REUSEADDR, win32 allows
|
||||
* multiple servers to listen on the same address, resulting in
|
||||
* unpredictable behavior. With no flags at all, win32 behaves as Unix
|
||||
* with SO_REUSEADDR.
|
||||
*/
|
||||
if (!IS_AF_UNIX(addr->ai_family))
|
||||
{
|
||||
|
Reference in New Issue
Block a user