Florents-Tselai / babar

🐘❤️🐍 Turn any Python object into a Postgres extension
https://babar.tselai.com
Apache License 2.0
3 stars 0 forks source link

Dynamically read pg_config #19

Open Florents-Tselai opened 9 months ago

Florents-Tselai commented 9 months ago

Side tracked and built this https://github.com/Florents-Tselai/PyPgConfig

Florents-Tselai commented 9 months ago

I should now use PyPgConfig to get the config object, and stored it within the Extension object.

That should be used to check that the PG instance we're extending.

Florents-Tselai commented 9 months ago

While creating an Extension check and warn the user if the current python executable doesn't match the Python interpreter that Postgres uses.