Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support PostgreSQL #4840

Closed
SergeyDjam opened this issue Nov 22, 2022 · 18 comments
Closed

Support PostgreSQL #4840

SergeyDjam opened this issue Nov 22, 2022 · 18 comments
Labels
enhancement New feature or request

Comments

@SergeyDjam
Copy link

Hello. May be support PostgreSQL?

@SergeyDjam
Copy link
Author

I see on the road map that it is set for 2023. Great.

@fulghum
Copy link
Contributor

fulghum commented Nov 22, 2022

Hey @SergeyDjam, thanks for checking out the Dolt roadmap. PostgreSQL support is on there, although not yet committed for 2023. We are in very early stages for thinking about a PostgreSQL Dolt, so if you have any feedback to share about why it's important to you or what specific features you'd need, that would be helpful info for us to hear.

On a related note... we did release a project this year that translates a PostgreSQL data dump to a MySQL data dump that can then be loaded by Dolt. It's not PostgreSQL Dolt of course, but it has enabled some PostgreSQL customers to try out their data in Dolt.

Thanks for taking the time to provide some feedback. Feel free to swing by the DoltHub Discord server if you wanna chat more, too!

@timsehn
Copy link
Contributor

timsehn commented Nov 22, 2022

Here's an article we wrote on this:

https://www.dolthub.com/blog/2022-03-28-have-postgres-want-dolt/

@knutwannheden
Copy link

I think Doltgres would definitely be very cool. PostgreSQL offers a lot of interesting functionality which I miss in MySQL. Some of the things I like best:

I probably forgot a whole lot of other things.

@fulghum fulghum changed the title [futuries requiest]: support PostgreSQL [Feature Request]: Support PostgreSQL Nov 28, 2022
@fulghum
Copy link
Contributor

fulghum commented Nov 28, 2022

Thanks for sharing the feedback @knutwannheden. Very helpful to have it recorded and tracked here.

All - feel free to add more feedback or concrete details on why a PostgreSQL flavored Dolt would be helpful for you and we'll use that as input for planning.

@durkie
Copy link

durkie commented Feb 16, 2023

One more vote for Postgresql support here -- I have an application that relies heavily on OpenStreetMap data and being able to time-travel through different versions of OSM geometry data would be hugely valuable for me.

@timsehn
Copy link
Contributor

timsehn commented Feb 16, 2023

One more vote for Postgresql support here -- I have an application that relies heavily on OpenStreetMap data and being able to time-travel through different versions of OSM geometry data would be hugely valuable for me.

We have support coming for MySQL's version of spatial indexes coming soon. Would that work?

@timsehn
Copy link
Contributor

timsehn commented Feb 16, 2023

Might as well have this as an open issue for tracking.

@timsehn timsehn reopened this Feb 16, 2023
@timsehn timsehn changed the title [Feature Request]: Support PostgreSQL Support PostgreSQL Feb 16, 2023
@durkie
Copy link

durkie commented Feb 16, 2023

We have support coming for MySQL's version of spatial indexes coming soon. Would that work?

I think that could potentially cover a lot of my use cases. It would require a little reconfiguring versus running everything through PostGIS, but even getting fast bounding box / intersection filter would be a great improvement since I could at least filter the rows of interest and import those to a local spatialite db or temporary Postgres table for further spatial needs.

@timsehn
Copy link
Contributor

timsehn commented Feb 16, 2023

This is the spatial index PR: #5164

It is close. We will have something by end of month.

@durkie
Copy link

durkie commented Feb 16, 2023

fantastic -- thank you!

@timsehn timsehn added the feature label Mar 2, 2023
@timsehn
Copy link
Contributor

timsehn commented Mar 3, 2023

This is the blog article about this:

https://www.dolthub.com/blog/2022-03-28-have-postgres-want-dolt/

Next step is to make Dolt work with the Postgres MySQL FDW: #5441

@jycor
Copy link
Contributor

jycor commented Apr 11, 2023

Update here:

We added limited support for MySQL's Server Side Cursors, and as a result the Postgres MySQL FDW release 2.9.0 (currently the latest) seems to work with dolt.

@timsehn
Copy link
Contributor

timsehn commented Apr 14, 2023

Dolt works with mysql_fdw:

https://www.dolthub.com/blog/2023-04-12-dolt-with-mysql_fdw/

@latot
Copy link

latot commented May 10, 2023

:O I'm so exited with this tooo!!

@lofcz
Copy link

lofcz commented Sep 6, 2023

If Postgres support is ever finished, we are ready to transition from SqlServer.

@timsehn
Copy link
Contributor

timsehn commented Sep 6, 2023

We have an Postgres emulator we're working on. News soon.

@fulghum fulghum added enhancement New feature or request and removed feature labels Sep 28, 2023
@Hydrocharged
Copy link
Contributor

We're officially working on PostgreSQL support!
https://github.com/dolthub/doltgresql

@timsehn timsehn closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants