Skip to content

Commit 1f7ce57

Browse files
docs: clarify pgmicro cannot replace Honcho database
- Added warning section: Honcho requires pgvector extension - Documented 6,123 existing embeddings (430 docs + 5,693 messages) - Updated migration table to highlight vector search limitations - Added suitable use cases section (✅ testing, ❌ Honcho) - Explained why walg-db:latest must remain for Honcho
1 parent c003167 commit 1f7ce57

1 file changed

Lines changed: 39 additions & 1 deletion

File tree

docs/PGMICRO.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,26 @@ The original Argo workflow built the wrong package:
2424
- ✅ All 164 Container-Compose tests pass
2525
- ✅ No PostgreSQL environment variables required (`POSTGRES_DB`, `POSTGRES_USER`, etc.)
2626

27+
## ⚠️ Cannot Replace Honcho Database
28+
29+
**Honcho requires pgvector extension** — pgmicro is NOT a suitable replacement.
30+
31+
### Reason
32+
- Honcho has **6,123 existing embeddings** (430 documents + 5,693 messages)
33+
- Uses **pgvector extension** for semantic search over 1536-dimensional vectors
34+
- pgmicro does **NOT support pgvector extension**
35+
- Embeddings are core to Honcho's memory retrieval system
36+
37+
### Honcho Database Requirements
38+
| Requirement | pgmicro | Honcho Needs |
39+
|-------------|---------|--------------|
40+
| pgvector extension | ❌ Not supported | ✅ Required |
41+
| Vector similarity search | ❌ No | ✅ Yes (semantic search) |
42+
| Existing embeddings | ❌ Cannot migrate | ✅ 6,123 vectors |
43+
| WAL-G backup integration | ❌ Not tested | ✅ Required (Plan 52) |
44+
45+
**Honcho must continue using** `walg-db:latest` (PostgreSQL 15 + pgvector + WAL-G).
46+
2747
## Usage in Container-Compose
2848

2949
### Docker Compose Syntax
@@ -208,9 +228,27 @@ ZOT_REGISTRY_URL=192.168.1.86:30500 swift test
208228
| Views | ✅ Full |
209229
| Triggers | ⚠️ Partial |
210230
| Stored Procedures | ❌ Not supported |
211-
| pgvector extension | ❌ Not supported |
231+
| **pgvector extension** |**Not supported** |
232+
| **Vector similarity search** |**Not supported** |
212233
| PostGIS | ❌ Not supported |
213234

235+
## Suitable Use Cases
236+
237+
### ✅ Recommended for:
238+
- Container-Compose testing (current use)
239+
- CI/CD pipelines without vector requirements
240+
- Lightweight PostgreSQL protocol testing
241+
- Edge deployments without semantic search
242+
- Short-lived containers with in-memory databases
243+
- Test environments where pgvector is not needed
244+
245+
### ❌ NOT Suitable for:
246+
- **Honcho memory hub** (requires pgvector for embeddings)
247+
- Applications using semantic search
248+
- Vector embeddings storage and retrieval
249+
- Similarity matching workloads
250+
- Any workload requiring PostgreSQL extensions
251+
214252
## Troubleshooting
215253

216254
### Container Exits Immediately

0 commit comments

Comments
 (0)