README.migrate-MySQL-to-PostgreSQL: add last steps..

This commit is contained in:
Christoph 2025-01-05 13:52:05 +01:00
parent 8f8741714d
commit ef7636904c

View File

@ -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=#