test(8190): read attstorage as text; asyncpg returns the one-byte "char" type as bytes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 16:15:53 -05:00
co-authored by Claude Opus 5.5
parent efba891f5e
commit deb991b2cc
+1 -1
View File
@@ -198,7 +198,7 @@ async def test_every_embedding_table_keeps_its_vectors_inline():
async with async_session() as s:
rows = (await s.execute(text(
"SELECT c.relname, a.attstorage FROM pg_attribute a "
"SELECT c.relname, a.attstorage::text FROM pg_attribute a "
"JOIN pg_class c ON c.oid = a.attrelid "
"WHERE a.attname = 'embedding' AND c.relname = ANY(:tables)"
), {"tables": ["note_embeddings", "rule_embeddings",