Open jnatherley opened 3 years ago
Hi @jnatherley -- thank you for bringing this to our attention, and for your very detailed issue! We're glad to hear you've enjoyed working with Materialize so far. We are continuously adding to our pg_catalog
support in order to broaden the ecosystem of tools that can be used with Materialize.
Right now, we're working on supporting a few other tools (dbt, for example). When engineering resources free up, we will be sure to triage and investigate the work needed to support Elixir Ecto and Postgrex. (And, we'll update this issue!)
Glancing at this, it looks like the current list of missing features are:
pg_type.typsend
pg_type.typoutput
pg_type.typelem
And construction of arrays from subqueries (https://www.postgresql.org/docs/9.1/sql-expressions.html#SQL-SYNTAX-ARRAY-CONSTRUCTORS)
Firstly, i would like to say i really love this product. I'm looking into using Materialize to ingest websocket events.
I've tried to setup Materialize to work with Elixir Ecto which is using Postgrex, on startup Postgrex attempts to bootstrap by retrieving the postgres types:
The final bootstrap query for Postgres versions older than 9.2.0 looks like:
Returns:
In Materialize it fails at a few different points:
I'm hoping with a few adjustments perhaps i can get this to work.