Postgrest: add mysql as a alternative db

Created on 8 Nov 2015  路  6Comments  路  Source: PostgREST/postgrest

is there any possible to add add mysql as a alternative db

Most helpful comment

No, a core feature that we use is postgresql json capabilities. Mysql does not have this.
Why not move your db to Postgresql?

All 6 comments

No, a core feature that we use is postgresql json capabilities. Mysql does not have this.
Why not move your db to Postgresql?

It is possible to make the project work with mysql but it would mean we have to implement some things inside the app that postgresql currently does for us (and does rather well). There are a lot of other issues we're dealing with now however, and mysql support would something for much later if at all.

@ruslantalpa right now we use a cloud service which dose not support postgresql though
@begriffs thx very much

@begriffs what fundamental Postgres-only features is postgrest exactly relying on?

can we use dblink / fdw feature to hidden the underlying database such as oracle sqlserver mysql
@ruslantalpa @begriffs

I'm not sure how well supported mysql would be through an FDW. There are some old related issues: #467 and #591. I suspect that foreign key detection will not work, which would break the resource embedding feature. I'd be curious how well it works if you try basic API table access though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

begriffs picture begriffs  路  3Comments

NickEmpetvee picture NickEmpetvee  路  4Comments

Chaz6 picture Chaz6  路  4Comments

ACPK picture ACPK  路  5Comments

rvernica picture rvernica  路  4Comments