postgres9.5: can't create extension on standby I can't create extension on postgresql9.5 server (hot standby). During to attempting I received:

db=# create extension pgrowlocks;
ERROR:  cannot execute CREATE EXTENSION in a read-only transaction


Can anyone assist? Thnx.
As the error message says: the standby is read-only you can't run any statements on the standby that change things. 

If you need the extension on the standby you need to create it on the master