On Fri, Oct 02, 2015 at 10:47:55AM +0200, Djibril DIONE wrote:
...
> -          So I Want to know if there is a way to set up a Master-Slave
> replication where the slave will be locked in Read only (only SELECT
> statement)

You can set an entire database as read only like so:

ALTER DATABASE mydb SET DEFAULT_TRANSACTION_READ_ONLY = ON;

-- 
Greg Sabino Mullane [email protected]
End Point Corporation
PGP Key: 0x14964AC8

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bucardo-general mailing list
[email protected]
https://mail.endcrypt.com/mailman/listinfo/bucardo-general

Reply via email to