JuliaGeo / GDAL.jl

Thin Julia wrapper for GDAL - Geospatial Data Abstraction Library
MIT License
90 stars 13 forks source link

PostgreSQL support #137

Open maxfreu opened 2 years ago

maxfreu commented 2 years ago

I think GDAL is currently built without PostgreSQL support, right? I can haz support for it? :> What would be necessary?

evetion commented 2 years ago

Changing this recipe to add the support to this artefact.

visr commented 2 years ago

Specifically we'd need to add a depdendency to libpq, for which there is luckily already a LibPQ_jll available:

https://github.com/JuliaPackaging/Yggdrasil/blob/7540ff4bc28abce05a948d9ee0ffdd44260ea04a/L/LibPQ/build_tarballs.jl

maxfreu commented 2 years ago

Like this?

visr commented 2 years ago

That looks good to me!

visr commented 2 years ago

Sorry, it seems like LibPQ_jll with libpq only was not enough. I think it needs a build of PostgreSQL including the libpq interface, which is not yet in Yggdrasil. So creating that would be a first step.

https://github.com/JuliaPackaging/Yggdrasil/pull/5423#issuecomment-1236395682