How to make PostgreSQL / pgAdmin behave better with case sensitivity?

I developed a set of tables in pgAdmin. I gave names like Productsand ProductRID. I was very surprised, though, when I went to query this table to find a query like this gave an unknown relation:

select * from Products

Apparently the correct way to access it is

select * from "Products"

which is very ugly. I can rename tables to all lowercase for a query without quotes, but then it looks ugly. Is there any parameter to keep this case, but behave case-insensitive?

+3
source share
2 answers

You can check the relative wiki to get an exact answer.

? ?

, .

+2

. - , . , ( ) . " " , ​​

SELECT * FROM Products

.

+4

Source: https://habr.com/ru/post/1763916/


All Articles