From f58b5d30abd3a46362b2f1587bd3a5a71e60a1d0 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 7 Sep 2023 22:24:31 +0000 Subject: [PATCH] Qualify the login with a (short) hostname for azure --- make_files/defaults.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make_files/defaults.mk b/make_files/defaults.mk index 1ac2877..140b402 100644 --- a/make_files/defaults.mk +++ b/make_files/defaults.mk @@ -31,7 +31,7 @@ ## ADMINUSER ## The PostgreSQL role used to connect to the database. This must ## have the permissions necessary to modify the db structure, etc. -## The default is: sokwedb_admin +## The default is: sokwedb_admin@sokwe-dbs ## ## HOST ## The host hosting the database. The default is: @@ -41,7 +41,8 @@ ifeq ($(strip $(SOKWEDB_DB)),) export SOKWEDB_DB := sokwedb_copy endif export HOST := sokwe-dbs.postgres.database.azure.com -export ADMINUSER := sokwedb_admin + +export ADMINUSER := sokwedb_admin@sokwe-dbs # For invoking psql everywhere. export PSQL_ARGS_MINIMAL := -U $(ADMINUSER) -d $(SOKWEDB_DB) -h $(HOST) -- 2.34.1