3 ms·
This is one of the main things I hate in PgSQL... Arbitrarily converting identifiers in any way is a very bad practice in my opinion. I should be the one to dec
by Seb-C 7y ago
This is one of the main things I hate in PgSQL... Arbitrarily converting identifiers in any way is a very bad practice in my opinion.
I should be the one to decide how I want to design my database and namings, not some arbitrary rule. I especially want my database and my code to be consistent, and snake_case is far from being the most used convention...
- BenMorganIO 7y agoYou sure? All the projects I've worked on have used snake case. I've only seen newcomers to programming use capitalized table names.
- zeroimpl 7y agoAgreed. I work on databases where column names are capitalized throughout our source code, and it’s annoying when sql like “SELECT FirstName FROM ...” gets output as “firstname”. This is one case where MySQL seems a bit better. Note if I could I’d change to lowercase underscore naming conventions, but it’s impossible to change now.