pgvector's vector(N) type uses a custom binary format (4-byte header + N×4-byte f32 array) that tokio-postgres doesn't natively support. Add a PgRawBytes adapter and decoder so vector columns render as JSON float arrays instead of null.
pgvector's vector(N) type uses a custom binary format (4-byte header + N×4-byte f32 array) that tokio-postgres doesn't natively support. Add a PgRawBytes adapter and decoder so vector columns render as JSON float arrays instead of null.