Re: Transactions involving multiple postgres foreign servers

From: vinayak <Pokale_Vinayak_q3(at)lab(dot)ntt(dot)co(dot)jp>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Vinayak Pokale <vinpokale(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>
Subject: Re: Transactions involving multiple postgres foreign servers
Date: 2017-01-26 09:04:10
Message-ID: a1d1778b-d091-9ada-ff45-0eaac28ae789@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Sawada-san,

On 2017/01/26 16:51, Masahiko Sawada wrote:
>> Thank you for reviewing!
>>
>> I think this is a bug of pg_fdw_resolver contrib module. I had
>> forgotten to change the SQL executed by pg_fdw_resolver process.
>> Attached latest version 002 patch.
>>
> As previous version patch conflicts to current HEAD, attached updated
> version patches. Also I fixed some bugs in pg_fdw_xact_resolver and
> added some documentations.
> Please review it.
Thank you updating the patches.

I have applied patches on Postgres HEAD.
I have created the postgres=fdw extension in PostgreSQL and then I got
segmentation fault.*
**Details:*
=# 2017-01-26 17:52:56.156 JST [3411] LOG: worker process: foreign
transaction resolver launcher (PID 3418) was terminated by signal 11:
*Segmentation fault*
2017-01-26 17:52:56.156 JST [3411] LOG: terminating any other active
server processes
2017-01-26 17:52:56.156 JST [3425] WARNING: terminating connection
because of crash of another server process
2017-01-26 17:52:56.156 JST [3425] DETAIL: The postmaster has commanded
this server process to roll back the current transaction and exit,
because another server process exited abnormally and possibly corrupted
shared memory.
2017-01-26 17:52:56.156 JST [3425] HINT: In a moment you should be able
to reconnect to the database and repeat your command.

Is this a bug?

Regards,
Vinayak Pokale
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2017-01-26 09:12:30 Re: Floating point comparison inconsistencies of the geometric types
Previous Message Ideriha, Takeshi 2017-01-26 09:03:10 Re: multivariate statistics (v19)