Feature Request: support for postgres extensions #9
Replies: 2 comments
-
This is an excellent suggestion! Getting auto-complete for functions provided by an extension would be a great first step. Perhaps also adding information about the expected signature and return data types. I'm not sure how the lsp works, but one can imagine tackling some more challenging issues like for example get a warning if one is trying to compare geometries in different, incompatible projections (in case of the PostGIS example, but probably applicable for other extensions). |
Beta Was this translation helpful? Give feedback.
-
I came here to point out that (IMO) nailing extensions will be what determines if this project is "good" or "great". Most projects in this space do not consider extensions from the beginning, and retrofitting to support them (in a way that doesn't require huge breaking changes) is almost impossible. Complications that extensions can cause:
Now depending on the scope of Two ways I can see that extensions could be supported (nomenclature WIP): Reflection / IntrospectionTruly install/source the extension, and "process" / "install" it in the way that Postgres does, then inspect what it "does" and inject that into the Pros
Cons
Configuration / StubsSupport some sort of static declarative config to describe what a given version of an extension will do. Pros
Cons
|
Beta Was this translation helpful? Give feedback.
-
Source: https://news.ycombinator.com/item?id=37020804
Beta Was this translation helpful? Give feedback.
All reactions