postgresql设置默认的search_path
时间:2016-08-22 16:10:36
收藏:0
阅读:692
-- Use this to show the current search_path -- Should return: "$user",public SHOW search_path; -- Create another schema GRANT ALL ON SCHEMA s1 TO s1; -- To change search_path on a connection-level SET search_path TO s1; -- To change search_path on a database-level ALTER database "testdb" SET search_path TO s1;
原文:http://www.cnblogs.com/ShaYeBlog/p/5795940.html
评论(0)