diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 3380b80..ddf23d8 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -118,6 +118,7 @@
 #include "utils/datetime.h"
 #include "utils/memutils.h"
 #include "utils/ps_status.h"
+#include "pg_trace.h"
 
 #ifdef EXEC_BACKEND
 #include "storage/spin.h"
@@ -3142,6 +3143,8 @@ BackendInitialize(Port *port)
 		elog(FATAL, "could not disable timer for authorization timeout");
 	PG_SETMASK(&BlockSig);
 
+	TRACE_POSTGRESQL_CONNECTION_ATTEMPT(port->user_name, port->database_name);
+
 	if (Log_connections)
 		ereport(LOG,
 				(errmsg("connection authorized: user=%s database=%s",
diff --git a/src/backend/utils/probes.d b/src/backend/utils/probes.d
index f68a7d2..d8b418a 100644
--- a/src/backend/utils/probes.d
+++ b/src/backend/utils/probes.d
@@ -91,4 +91,6 @@ provider postgresql {
 	probe xlog__switch();
 	probe wal__buffer__write__dirty__start();
 	probe wal__buffer__write__dirty__done();
+
+	probe connection__attempt(char *, char *);
 };
