postgresql - Postgres not following search_path to locate tables -
i'm not sure exact point @ starting happening ( believe may have been after launching pgadmin3 first time ). seemed happen of sudden , seems configured correctly..
postgresql seems no longer following search_path locate tables.
\d no relations found.
my search path has been set (persistently @ that):
show search_path; "public, myschema1, myschema2" (1 row)
not owner of tables in question, have run:
grant on schema public myusername; grant on schema myschema1 myusername; grant on schema myschema2 myusername;
the data there. can see schemas when running \dn. can run queries if qualify schema , table names. biggest issue created functions reference unqualified table name won't work.
can think of might not have tried? thoughts caused issue start happening?
thanks help! -hightech
probably entered search_path 1 string
postgres=# set search_path public, s1; set postgres=# show search_path ; search_path ------------- public, s1 (1 row) postgres=# set search_path 'public, s1'; set postgres=# show search_path ; search_path -------------- "public, s1" (1 row)
second setting wrong , doesn't work.
Comments
Post a Comment