这是indexloc提供的服务,不要输入任何密码
Skip to content

PSQL Tool psqlrc problem (RM #7503) #5167

@dpage

Description

@dpage

Issue migrated from Redmine: https://redmine.postgresql.org/issues/7503
Originally created by Yasuaki Fukaishi at 2022-06-24 06:22:40 UTC.

When 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.

When only UserA begins, UserA's psqlrc work.
UserA's $PSQLRC


db=> \! echo $PSQLRC
/var/lib/pgadmin/storage/usera_email.com/.psqlrc

But this case, other user's psqlrc had run.

UserA clicks PSQL Tool.

UserB clicks PSQL Tool before UserA's PSQL begins.

UserA's PSQL run UserB's psqlrc.

UserA's $PSQLRC


db=> \! echo $PSQLRC
/var/lib/pgadmin/storage/userb_email.com/.psqlrc

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions