diff --git a/lib/db_ido_pgsql/idopgsqlconnection.cpp b/lib/db_ido_pgsql/idopgsqlconnection.cpp index cef8ef555..8af2b30a4 100644 --- a/lib/db_ido_pgsql/idopgsqlconnection.cpp +++ b/lib/db_ido_pgsql/idopgsqlconnection.cpp @@ -560,6 +560,10 @@ bool IdoPgsqlConnection::FieldToEscapedString(const String& key, const Value& va *result = static_cast(m_InstanceID); return true; } + if (key == "session_token") { + *result = "'" + Escape(m_SessionToken) + "'"; + return true; + } if (key == "notification_id") { *result = static_cast(GetNotificationInsertID(value)); return true;