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