Re: [HACKERS] Thinko in processing of SHM message size info?

2015-08-06 Thread Antonin Houska
Robert Haas wrote: > On Thu, Aug 6, 2015 at 1:24 PM, Robert Haas wrote: > > On Thu, Aug 6, 2015 at 9:04 AM, Antonin Houska wrote: > >> Can anyone please explain why the following patch shouldn't be applied? > >> > >> diff --git a/src/backend/storage/ipc/shm_mq.c > >> b/src/backend/storage/ipc/s

Re: [HACKERS] Thinko in processing of SHM message size info?

2015-08-06 Thread Robert Haas
On Thu, Aug 6, 2015 at 1:24 PM, Robert Haas wrote: > On Thu, Aug 6, 2015 at 9:04 AM, Antonin Houska wrote: >> Can anyone please explain why the following patch shouldn't be applied? >> >> diff --git a/src/backend/storage/ipc/shm_mq.c >> b/src/backend/storage/ipc/shm_mq.c >> index 126cb07..4cd52a

Re: [HACKERS] Thinko in processing of SHM message size info?

2015-08-06 Thread Robert Haas
On Thu, Aug 6, 2015 at 9:04 AM, Antonin Houska wrote: > Can anyone please explain why the following patch shouldn't be applied? > > diff --git a/src/backend/storage/ipc/shm_mq.c > b/src/backend/storage/ipc/shm_mq.c > index 126cb07..4cd52ac 100644 > --- a/src/backend/storage/ipc/shm_mq.c > +++ b/s

[HACKERS] Thinko in processing of SHM message size info?

2015-08-06 Thread Antonin Houska
Can anyone please explain why the following patch shouldn't be applied? diff --git a/src/backend/storage/ipc/shm_mq.c b/src/backend/storage/ipc/shm_mq.c index 126cb07..4cd52ac 100644 --- a/src/backend/storage/ipc/shm_mq.c +++ b/src/backend/storage/ipc/shm_mq.c @@ -584,7 +584,7 @@ shm_mq_receive(sh