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:
@@ -198,7 +198,7 @@ async def test_every_embedding_table_keeps_its_vectors_inline():
|
|||||||
|
|
||||||
async with async_session() as s:
|
async with async_session() as s:
|
||||||
rows = (await s.execute(text(
|
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 "
|
"JOIN pg_class c ON c.oid = a.attrelid "
|
||||||
"WHERE a.attname = 'embedding' AND c.relname = ANY(:tables)"
|
"WHERE a.attname = 'embedding' AND c.relname = ANY(:tables)"
|
||||||
), {"tables": ["note_embeddings", "rule_embeddings",
|
), {"tables": ["note_embeddings", "rule_embeddings",
|
||||||
|
|||||||
Reference in New Issue
Block a user