README.migrate-MySQL-to-PostgreSQL: add last steps..
This commit is contained in:
parent
8f8741714d
commit
ef7636904c
@ -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=#
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user