Answer the question
In order to leave comments, you need to log in
When is the schema name "public" required?
I had code in which queries were executed without specifying the public schema, i.e. were simple:
SELECT * FROM tableName
Deployed a very similar configuration on a working Postgres 13.2 server, copied the query into the SQL manager and he cursed. that cannot fulfill it. schema is not specified. At the same time, apparently, requests from the code itself are executed. nothing falls.
"11:25:47 Kernel error: ERROR: relation 'tableName' does not exist." At the same time, the documentation says: "public is defined as the default schema name when no schema name is specified"
How can this be? Does the driver have an effect?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question