pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Eric J. Van der Velden <ericjvandervelden@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: max_prepared_foreign_transactions is unrecognized
Date: Tue, 2 Apr 2019 13:43:13 -0700
Message-ID: <6b626f68-7854-379f-e77d-7310c403ac4f@aklaver.com> (raw)
In-Reply-To: <CAFxAhE8OOEKAmC5q5QG4LGQSmwiK_vMX7zpzzRaNrGULrVta-A@mail.gmail.com>
References: <CAFxAhE9QYN1oPLHX2d5QcDMSPXXaU6iaDKN9u2mYa5bNYrs3+Q@mail.gmail.com>
	<1db22bd7-a341-44b5-8f22-b685273fd3f2@aklaver.com>
	<CAFxAhE8OOEKAmC5q5QG4LGQSmwiK_vMX7zpzzRaNrGULrVta-A@mail.gmail.com>

On 4/2/19 1:02 PM, Eric J. Van der Velden wrote:
Please reply to list also.
Ccing list

> Hi. Thanks. In fact my question is if postgres has software by which I 
> can do distributed transactions, with 2pc. Normally I use narayana in 
> wildfly for that, but has postgres also such software? In java they call 
> it jta.

See here:

https://www.postgresql.org/docs/11/sql-prepare-transaction.html

I have never used it, so someone else will have to comment on actual usage.

> 
> Op di 2 apr. 2019 21:45 schreef Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>>:
> 
>     On 4/2/19 12:36 PM, Eric J. Van der Velden wrote:
>      > On https://wiki.postgresql.org/wiki/2PC_on_FDW it says I have to
>     set the
>      > configuration parameter "max_prepared_foreign_transactions"  in
>      > postgresql.conf. When I restart postgres, I see:
> 
>       From what I see the above was a proposal that did not actually get
>     implemented, at least in the form above.
> 
>      >
>      > LOG:  unrecognized configuration parameter
>      > "max_prepared_foreign_transactions" in file
> 
>     Which is true as I see no such GUC here:
> 
>     https://www.postgresql.org/docs/11/runtime-config.html
> 
>      > "/var/lib/postgresql/data/postgresql.conf" line 689
>      >
>      > Thanks,
>      > Eric.
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (3+ messages)

Message-ID: <6b626f68-7854-379f-e77d-7310c403ac4f@aklaver.com>
Permalink:  ../6b626f68-7854-379f-e77d-7310c403ac4f@aklaver.com/
Also on:    postgresql.org/message-id/6b626f68-7854-379f-e77d-7310c403ac4f@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ericjvandervelden@gmail.com
  Subject: Re: max_prepared_foreign_transactions is unrecognized
  In-Reply-To: <6b626f68-7854-379f-e77d-7310c403ac4f@aklaver.com>
  References: <CAFxAhE9QYN1oPLHX2d5QcDMSPXXaU6iaDKN9u2mYa5bNYrs3+Q@mail.gmail.com> <1db22bd7-a341-44b5-8f22-b685273fd3f2@aklaver.com> <CAFxAhE8OOEKAmC5q5QG4LGQSmwiK_vMX7zpzzRaNrGULrVta-A@mail.gmail.com> <6b626f68-7854-379f-e77d-7310c403ac4f@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox