# HG changeset patch # User Kim Alvefur # Date 1689195097 -7200 # Node ID 9dc6de46dae395526100d6b32cf516729a86692c # Parent 36b7bdafc993caf63d5978798ae9093108e7ace8 mod_storage_sql: Remove completed TODO (testing UPSERT on PostgreSQL) diff -r 36b7bdafc993 -r 9dc6de46dae3 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Wed Jul 12 22:50:24 2023 +0200 +++ b/plugins/mod_storage_sql.lua Wed Jul 12 22:51:37 2023 +0200 @@ -217,7 +217,6 @@ LIMIT 1; ]]; for key, data in pairs(keydatas) do - -- TODO Test UPSERT in PostgreSQL before enabling it. if type(key) == "string" and key ~= "" and engine.params.driver ~= "MySQL" and data ~= self.remove then local t, value = assert(serialize(data)); engine:insert(upsert_sql, host, username or "", self.store, key, t, value, t, value);