diff --git a/README.migrate-MySQL-to-PostgreSQL b/README.migrate-MySQL-to-PostgreSQL index 7985e22..f60f4a2 100644 --- a/README.migrate-MySQL-to-PostgreSQL +++ b/README.migrate-MySQL-to-PostgreSQL @@ -376,19 +376,37 @@ ${pgloader_bin} calls.load | tee calls.log # # must response as shown: # +# +# mattermost=# SHOW SEARCH_PATH; +# search_path +# ----------------- +# "$user", public +# (1 row) +# +# mattermost=# SELECT CURRENT_SCHEMA(); +# current_schema +# ---------------- +# public +# (1 row) -mattermost=# SHOW SEARCH_PATH; - search_path ------------------ - "$user", public -(1 row) +mattermost=# SELECT pg_catalog.set_config('search_path', '"$user",public"', false); +# +# ----------------- +# "$user",public" +# (1 Zeile) -mattermost=# SELECT CURRENT_SCHEMA(); - current_schema ----------------- - public -(1 row) +mattermost=# ALTER USER mattermost SET SEARCH_PATH TO "$user",public; +# +# ALTER ROLE +# mattermost=# SHOW SEARCH_PATH; +# search_path +# ----------------- +# "$user",public" +# (1 Zeile) + +# EXIT postgresQL monitor +# +mattermost=# \q -mattermost=#