О политкорректности и PostgreSQL
hardsign — 18.02.2022Маленькая цитата из документации.
targetServerType = String
Allows opening connections to only servers with required state, the allowed values are any, primary, master, slave, secondary, preferSlave and preferSecondary. The primary/secondary distinction is currently done by observing if the server allows writes. The value preferSecondary tries to connect to secondary if any are available, otherwise allows falls back to connecting also to primary.
N.B. the words master and slave are being deprecated. We will silently accept them, but primary and secondary are encouraged.
Вспоминается песня времён нашей молодости:
There's a new game
We like to play you see
A game with added reality
You treat me like a dog
Get me down on my knees
We call it primary and secondary
We call it primary and secondary
|
</> |