---------- * pgstat_drop_database() - * * Tell the collector that we just dropped a database. * (If the message gets lost, we will still clean the dead DB eventually * via future invocations of pgstat_vacuum_stat().) * ---------- */
| 1377 | * ---------- |
| 1378 | */ |
| 1379 | void |
| 1380 | pgstat_drop_database(Oid databaseid) |
| 1381 | { |
| 1382 | PgStat_MsgDropdb msg; |
| 1383 | |
| 1384 | if (pgStatSock == PGINVALID_SOCKET) |
| 1385 | return; |
| 1386 | |
| 1387 | pgstat_setheader(&msg.m_hdr, PGSTAT_MTYPE_DROPDB); |
| 1388 | msg.m_databaseid = databaseid; |
| 1389 | pgstat_send(&msg, sizeof(msg)); |
| 1390 | } |
| 1391 | |
| 1392 | |
| 1393 | /* ---------- |
no test coverage detected