From: Robert Haas <robertmh...@gmail.com>
> I think it would be better to have read-write and read-only check
> trnasaction_read_only, and primary and standby can check the new
> thing. There can never be any real advantage in having synonyms for
> the same thing, but there can be an advantage to letting users choose
> the behavior they want.

+1
"primary" is not always equal to "read-write".  When normal users are only 
allowed to query data on a logically replicated database (ALTER USER SET 
default_transaction_read_only = on), it's the primary read-only server.


Regards
Takayuki Tsunakawa



Reply via email to