summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-13 15:14:41 +0000
committerErik Johnston <erik@matrix.org>2017-01-13 15:14:41 +0000
commitc050f493dd53a74206338f9a5e567d7bd24fbd5d (patch)
treefeea51a510e861604f1d96009e8252f63ab76007 /synapse/storage/schema/delta
parentExplicitly close the cursor (diff)
downloadsynapse-c050f493dd53a74206338f9a5e567d7bd24fbd5d.tar.xz
Add comment
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/40/device_inbox.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/40/device_inbox.sql b/synapse/storage/schema/delta/40/device_inbox.sql
index ce58fe2082..b9fe1f0480 100644
--- a/synapse/storage/schema/delta/40/device_inbox.sql
+++ b/synapse/storage/schema/delta/40/device_inbox.sql
@@ -13,6 +13,7 @@
  * limitations under the License.
  */
 
+-- turn the pre-fill startup query into a index-only scan on postgresql.
 INSERT into background_updates (update_name, progress_json)
     VALUES ('device_inbox_stream_index', '{}');