From 8f8abdb443048b232436336b85d4a8d52d910ac4 Mon Sep 17 00:00:00 2001 From: kohleman <kohleman> Date: Mon, 29 Nov 2010 14:04:08 +0000 Subject: [PATCH] added -U flag SVN: 18920 --- openbis_all/source/bash/clone_openbis_display_settings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbis_all/source/bash/clone_openbis_display_settings.sh b/openbis_all/source/bash/clone_openbis_display_settings.sh index 46b8fde08e4..ee011f4ea3c 100644 --- a/openbis_all/source/bash/clone_openbis_display_settings.sh +++ b/openbis_all/source/bash/clone_openbis_display_settings.sh @@ -10,4 +10,4 @@ then exit 1 fi -psql -d openbis_productive -Uopenbis -c "update persons set display_settings=(select display_settings from persons where user_id='${SOURCE_USER}') where user_id='${TARGET_USER}'" +psql -U openbis -d openbis_productive -Uopenbis -c "update persons set display_settings=(select display_settings from persons where user_id='${SOURCE_USER}') where user_id='${TARGET_USER}'" -- GitLab