On 5/3/23 01:23, Wen Yi wrote:
> Hi team,
> can I use same user's information login in multile machines when connect
> to the postgres?
Your question is a bit ambiguous, since:
1. "login in (to) multiple machines" typically refers logging in to the OS,
and that has nothing to do with postgresql, and
2. a specific postgresql database can only be on one server.
Having said that... when doing streaming replication, role details
(including authentication credentials) will be automatically replicated to
the secondary just like every other bit of "the postgres".
--
Born in Arizona, moved to Babylonia.