All,
I'm trying to use Elixir with CockroachDB (
https://github.com/cockroachdb/cockroach). They are implementing the Postgresql protocol for their SQL interface, but haven't implemented the Array type. There is a ticket open for adding arrays, but they haven't had a chance to implement it yet. I've been trying to connect with Postgrex, but get the following error:
11:28:55.749 [error] Postgrex.Protocol (#PID<0.157.0>) failed to connect: ** (Postgrex.Error) ERROR (internal_error): syntax error at or near "("
SELECT t.oid, t.typname, t.typsend, t.typreceive, t.typoutput, t.typinput,
t.typelem, coalesce(r.rngsubtype, 0), ARRAY (
^
Is it possible to connect without calling for an ARRAY type? They have several Postgresql drivers working, so I know that it can be done :) I've been looking at the Postgrex source, but haven't found a solution yet. Your guidance is appreciated!
Thanks!
--Nick