Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 13:37:33 +0200] rev 13163
mod_storage_sql: Fix column name in index check for PostgreSQL
Forgot to change the column name in 9a7523ea45cb
Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 13:36:42 +0200] rev 13162
mod_storage_sql: Adjust indentation to align with surrounding code
Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 00:22:45 +0200] rev 13161
mod_storage_sql: Only remove old index if it exists
Avoids an error if the upgrade is performed twice..
Kim Alvefur <zash@zash.se> [Sat, 17 Jun 2023 00:00:21 +0200] rev 13160
mod_storage_sql: Be more specific when checking for old index in SQLite3
Prevents false positives in the odd case where something other than an
index with this name might exist.
Kim Alvefur <zash@zash.se> [Fri, 16 Jun 2023 23:57:15 +0200] rev 13159
mod_storage_sql: Improve check for old table index on PostgreSQL
The "pg_indexes" view is much simpler to inspect than "pg_class"
Kim Alvefur <zash@zash.se> [Fri, 16 Jun 2023 13:03:34 +0200] rev 13158
mod_storage_sql: Enable UPSERT with PostgreSQL
Tested. Works.
Kim Alvefur <zash@zash.se> [Fri, 16 Jun 2023 13:02:35 +0200] rev 13157
doap: Fix typo in attribute name
Kim Alvefur <zash@zash.se> [Wed, 14 Jun 2023 13:39:39 +0200] rev 13156
util.pposix: Use Lua enum API for resource limit name argument
Because diffstat.
Kim Alvefur <zash@zash.se> [Sun, 11 Jun 2023 20:25:50 +0200] rev 13155
mod_storage_sql: Add some TODO comments for future UPSERT work
Kim Alvefur <zash@zash.se> [Sun, 11 Jun 2023 20:05:32 +0200] rev 13154
mod_storage_sql: Do not keep track of quota when no quota is set
No point in doing this expensive O(n) query if the result is not used
for anything.
Will still cache the total item count if an explicit query for this is
performed, then try to keep it updated with new items added. Will likely
forget eventually tho.