This commit also updates wait event enum into alphabetical order.
Previously the enum entry for GSSOpenServer was added out-of-order.
Back-patch to v12 where commit
b0b39f72b9 introduced
GSSOpenServer wait event. In v12, the commit doesn't include
the update of wait event enum, not to break ABI.
Author: Fujii Masao
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/
949931aa-4ed4-d867-a7b5-
de9c02b2292b@oss.nttdata.com
Waiting in main loop of WAL writer process.
|
- 7">Client
+ 8">Client
ClientRead
Waiting to read data from the client.
ClientWrite
Waiting to write data to the client.
+ |
+ GSSOpenServer
+ Waiting to read data from the client while establishing the GSSAPI session.
+
|
LibPQWalReceiverConnect
Waiting in WAL receiver to establish connection to remote server.
case WAIT_EVENT_CLIENT_WRITE:
event_name = "ClientWrite";
break;
+ case WAIT_EVENT_GSS_OPEN_SERVER:
+ event_name = "GSSOpenServer";
+ break;
case WAIT_EVENT_LIBPQWALRECEIVER_CONNECT:
event_name = "LibPQWalReceiverConnect";
break;
case WAIT_EVENT_WAL_SENDER_WRITE_DATA:
event_name = "WalSenderWriteData";
break;
- case WAIT_EVENT_GSS_OPEN_SERVER:
- event_name = "GSSOpenServer";
- break;
/* no default case, so that compiler will warn */
}