Re: Is anything preventing us from allowing write to foreign tables from standby?

From: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Is anything preventing us from allowing write to foreign tables from standby?
Date: 2017-10-17 18:01:46
Message-ID: CAPpHfdtSrnZkQ4PHG6i_tx_15tnu5e-jdTyTdpV3Xo00FsffoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 6, 2017 at 4:42 PM, Alexander Korotkov <
a(dot)korotkov(at)postgrespro(dot)ru> wrote:

> We're currently blocking writing queries on standby if even they are
> modifying contents of foreign tables. But do we have serious reasons for
> that?
> Keeping in the mind FDW-sharding, making FDW-tables writable from standby
> would be good to prevent single-master bottleneck.
> I wrote simple patch enabling writing to foreign tables from standbys. It
> works from the first glance for me.
>

No interest yet, but no objections too :-)
I'm going to add this to next commitfest.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2017-10-17 18:40:09 Re: Determine state of cluster (HA)
Previous Message Jeevan Chalke 2017-10-17 17:14:22 Re: Partition-wise aggregation/grouping