summaryrefslogtreecommitdiff
path: root/contrib/intarray/_int_gist.c
diff options
context:
space:
mode:
authorAbbas2011-06-24 17:59:57 +0000
committerAbbas2011-06-24 17:59:57 +0000
commitff7be6e332b36fc7aad99876bf107e258264a7f1 (patch)
treee72854c2ad18eade7812ab2146c54512e0a31617 /contrib/intarray/_int_gist.c
parentd56caa5e2ac517b83595586987794337c9dea357 (diff)
This patch adds a system in XC to cancel a running query, and flush network buffers of any results data nodes might have sent before cancelling the query.
This was required to fix certain issues where coordinator encounters an error while processing rows from data nodes and quits row processing. It then issues a new query and finds an old row description in the network buffer. This can and was crashing the server. To cancel a query a new pooler command 'h' is added. This command is sent to the pooler by the coordinator and the pooler issues PQcancel to the respective data nodes. Cancel request is sent every time coordinator raises an error of level more than ERROR. This commit fixes bug 3306801
Diffstat (limited to 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions