You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository name is pgsphere. The extension name is pg_sphere. The document uses pgSphere. The names are not consistent. I propose to think about this problem.
Not the same question, but there's also a giant dichotomy between the naming of SQL functions and C functions, e.g. scircle_* vs spherecircle_*. And half of the C/SQL files are named pgs_* while the rest doesn't have a prefix. It's very confusing.
The repository name is pgsphere. The extension name is pg_sphere. The document uses pgSphere. The names are not consistent. I propose to think about this problem.
I much prefer pgsphere, and I think it's acceptable to use pgSphere in the documentation.
I really don't like pg_sphere for the extension name, but I think changing it at this point would be problematic for people who already have the extension installed. I think we are stuck with it, but I don't want to change anything else to match it.
Activity
df7cb commentedon Sep 22, 2023
Not the same question, but there's also a giant dichotomy between the naming of SQL functions and C functions, e.g.
scircle_*vsspherecircle_*. And half of the C/SQL files are namedpgs_*while the rest doesn't have a prefix. It's very confusing.esabol commentedon Sep 22, 2023
I much prefer
pgsphere, and I think it's acceptable to usepgSpherein the documentation.I really don't like
pg_spherefor the extension name, but I think changing it at this point would be problematic for people who already have the extension installed. I think we are stuck with it, but I don't want to change anything else to match it.So, basically, I wouldn't change anything.
vitcpp commentedon Sep 22, 2023
I would prefer pgsphere as well. I agree we shouldn't rename the extension.
Some more questions:
For certainty, I would propose to use pgsphere for the following cases:
Use pg_sphere:
Then, we may describe such naming chaos it in the doc.
df7cb commentedon Nov 8, 2023
I'd put a +1 on
pgSphere, the spelling withPgSlooks weird to me.