Re: Replication with 9.4 - Mailing list pgsql-general

From Edson Richter
Subject Re: Replication with 9.4
Date
Msg-id COL402-EAS238E3E7C13F903A137D3EEECF4A0@phx.gbl
Whole thread Raw
In response to Replication with 9.4  (Madovsky <infos@madovsky.org>)
Responses Re: Replication with 9.4
List pgsql-general

---- Madovsky escreveu ----

> Hi,
>
> I would like to fix a issue I'm facing of with the version 9.4 streaming
> replication.
> is it possible to set on the fly the synchronous commit on the master
> (or standby?)
> which only sync commit the hot standby node used by the client who has a
> read only sql session on?
> example:
> node1 node2 node3 are hot standby with replication slots (physical) on
> master 1
> node1 has the priority 1 since it's first on the names list
> now a client open a ready only session on node3 and start a transaction
> update

Sorry for my ignorance, but can you start a "transaction update" over a read only connection?

Edson

but
> within this transaction a sql select is done on the hot standby from the
> updated table
>
> thanks
>
> Franck
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: "Steve Petrie, P.Eng."
Date:
Subject: *** CORRECTION -- PLEASE IGNORE *** BEGIN, END & ROLLBACK commands -- do they produce a SQLSTATE value?
Next
From: Paolo De Michele
Date:
Subject: Re: postgresql doesn't start