Skip to content

Handle bulk ref processing for postgres

At the end of Execute refs from all queues async (#507973 - closed), a worker for a specific queue gets called to process references in bulk. This issue is to handle that when postgres with pgvector is connected.

  • Bulk upsert non-embedding refs
  • Bulk upsert embedding refs
  • Bulk delete refs

Upserting also deals with optimising such as preloading, etc.

Edited by Madelein van Niekerk