Re: PSQL Tool start issue

From: YASUAKI FUKAISHI <fukaishi-y_ncontr(at)outlook(dot)jp>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: PSQL Tool start issue
Date: 2022-06-24 00:31:42
Message-ID: PS2PR01MB22803A69FB7B35716FF5906DA4B49@PS2PR01MB2280.apcprd01.prod.exchangelabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

> psqlrc is not shared among users and each user will use psqlrc from the pgAdmin user storage directory.

I think so, too.

When only UserA begins, UserA's psqlrc work.
UserA's $PSQLRC:
db=> \! echo $PSQLRC
/var/lib/pgadmin/storage/usera/.psqlrc

But this case, other user's psqlrc had run.
1) UserA clicks PSQL Tool.
2) UserB clicks PSQL Tool before UserA's PSQL begins.
3) UserA's PSQL run UserB's psqlrc.

UserA's $PSQLRC:
/var/lib/pgadmin/storage/userb/.psqlrc

Thanks,
Yasuaki Fukaishi

________________________________________
From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Sent: Thursday, June 23, 2022 18:40
To: 深石 康昭
Cc: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Re: PSQL Tool start issue

Hi,

psqlrc is not shared among users and each user will use psqlrc from the pgAdmin user storage directory.

On Thu, Jun 23, 2022 at 12:05 PM 深石 康昭 <fukaishi-y_ncontr(at)outlook(dot)jp<mailto:fukaishi-y_ncontr(at)outlook(dot)jp>> wrote:
Hi,

I am using the pgAdmin4 ver.6.10 container in server mode.

If different users start PSQL Tool at the same time,
the user who started it first will run psqlrc of the user who started it later.

I think that each user's psqlrc needs to work even if they are started at the same time.

Thanks!

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | edbpostgres.com<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Aditya Toshniwal 2022-06-24 05:15:58 Re: PSQL Tool start issue
Previous Message Brian Wilson 2022-06-23 17:46:22 Re: Installation on Linux with Docker