postgrespro / pgsphere

PgSphere provides spherical data types, functions, operators, and indexing for PostgreSQL.
https://pgsphere.org
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

pgsphere or pg_sphere? #67

Open vitcpp opened 9 months ago

vitcpp commented 9 months ago

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.

df7cb commented 9 months ago

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.

esabol commented 9 months ago

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.

So, basically, I wouldn't change anything.

vitcpp commented 9 months ago

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 commented 8 months ago

I'd put a +1 on pgSphere, the spelling with PgS looks weird to me.