Use sufficiently large buffer in SharedQueueWrite
authorTomas Vondra <tomas@2ndquadrant.com>
Fri, 12 Oct 2018 12:23:29 +0000 (14:23 +0200)
committerTomas Vondra <tomas@2ndquadrant.com>
Fri, 12 Oct 2018 12:31:41 +0000 (14:31 +0200)
commitcf2518f48d2d1daf0807a774177b21f9549ec8a7
tree28685cd5b3409f5ae1b9e1e0001dabc8cb8853c3
parent332250d176df9fcf27c0fa9be312dab1e1f49d42
Use sufficiently large buffer in SharedQueueWrite

The sq_key alone may be up to 64 bytes, so we need more than that.
We could use dynamic memory instead, but 128 bytes should be enough
both for the sq_key and the other pieces.
src/backend/pgxc/squeue/squeue.c