a bug for shm_mq

From: "bucoo(at)sohu(dot)com" <bucoo(at)sohu(dot)com>
To: pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: a bug for shm_mq
Date: 2020-05-08 07:13:34
Message-ID: 2020050815133419172312@sohu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

version:10,11,12,master
in function shm_mq_sendv(...) line 491-492 code is
491: /* If queue has been detached, let caller know. */
492: if (mq->mq_detached)
493: return SHM_MQ_DETACHED;
when run before line 492, the receiver try receive message(will successes) and call shm_mq_detach(...) function,
then this function will return SHM_MQ_DETACHED, actually data send successed!!!

bucoo(at)sohu(dot)com

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-05-08 07:42:23 BUG #16424: COPY Command fails for CSV formath
Previous Message Fujii Masao 2020-05-08 05:23:32 Re: Back-patch is necessary? Re: Don't try fetching future segment of a TLI.