Compare commits

..

No commits in common. "6b14404b0b97530af080a1f5edb940d30464aa0a" and "a1d50b69b5b637e3ac403bd314cec783bc1676ba" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

@ -53,7 +53,6 @@ tests += {
'bd': meson.current_build_dir(), 'bd': meson.current_build_dir(),
'regress': { 'regress': {
'sql': [ 'sql': [
'security',
'seg', 'seg',
], ],
}, },

View File

@ -303,7 +303,6 @@ pgwin32_socket(int af, int type, int protocol)
if (ioctlsocket(s, FIONBIO, &on)) if (ioctlsocket(s, FIONBIO, &on))
{ {
TranslateSocketError(); TranslateSocketError();
closesocket(s);
return INVALID_SOCKET; return INVALID_SOCKET;
} }
errno = 0; errno = 0;

View File

@ -263,9 +263,9 @@ pgstat_beinit(void)
* Assign the MyBEEntry for an auxiliary process. Since it doesn't * Assign the MyBEEntry for an auxiliary process. Since it doesn't
* have a BackendId, the slot is statically allocated based on the * have a BackendId, the slot is statically allocated based on the
* auxiliary process type (MyAuxProcType). Backends use slots indexed * auxiliary process type (MyAuxProcType). Backends use slots indexed
* in the range from 0 to MaxBackends (exclusive), so we use * in the range from 1 to MaxBackends (inclusive), so we use
* MaxBackends + AuxProcType as the index of the slot for an auxiliary * MaxBackends + AuxBackendType + 1 as the index of the slot for an
* process. * auxiliary process.
*/ */
MyBEEntry = &BackendStatusArray[MaxBackends + MyAuxProcType]; MyBEEntry = &BackendStatusArray[MaxBackends + MyAuxProcType];
} }