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:
|
# 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;
|
mattermost=# SELECT pg_catalog.set_config('search_path', '"$user",public"', false);
|
||||||
search_path
|
#
|
||||||
-----------------
|
# -----------------
|
||||||
"$user", public
|
# "$user",public"
|
||||||
(1 row)
|
# (1 Zeile)
|
||||||
|
|
||||||
mattermost=# SELECT CURRENT_SCHEMA();
|
mattermost=# ALTER USER mattermost SET SEARCH_PATH TO "$user",public;
|
||||||
current_schema
|
#
|
||||||
----------------
|
# ALTER ROLE
|
||||||
public
|
# mattermost=# SHOW SEARCH_PATH;
|
||||||
(1 row)
|
# search_path
|
||||||
|
# -----------------
|
||||||
|
# "$user",public"
|
||||||
|
# (1 Zeile)
|
||||||
|
|
||||||
|
# EXIT postgresQL monitor
|
||||||
|
#
|
||||||
|
mattermost=# \q
|
||||||
|
|
||||||
mattermost=#
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user