Commit ae94de8
week_3: address review — warn loudly when pgvector backend runs on non-Postgres
Maintainer nit on #937: CRE_LIBRARIAN_RETRIEVER_BACKEND=pgvector is selectable
via env, but the embedding_vec column doesn't land until W8. Emit a loud
startup warning at pipeline-switch time when the backend is pgvector on a
non-Postgres (e.g. SQLite) database, since retrieve() would otherwise fail
with an opaque SQL error.1 parent e7420cf commit ae94de8
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1108 | 1118 | | |
1109 | 1119 | | |
1110 | 1120 | | |
| |||
0 commit comments