mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-25 15:50:27 +08:00
A user mapping is a standard PostgreSQL object that can be used to provide a remote username and password when connecting to a data node. The downside of a user mapping, however, is that one mapping needs to exist per server and user while, in comparison, only one password file needs to exist per instance of PostgreSQL. Still, since user mappings are database objects they provide an alternative to password files for environments that cannot easily modify files outside the database. Providing a user mapping is completely optional and doesn't change other methods of providing credentials for authentication.