Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRmua-0003ZF-0U for pgsql-committers@arkaria.postgresql.org; Wed, 20 Dec 2017 22:32:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRmuZ-0002Gz-JS for pgsql-committers@arkaria.postgresql.org; Wed, 20 Dec 2017 22:32:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eRmuZ-0002Gp-Bo for pgsql-committers@lists.postgresql.org; Wed, 20 Dec 2017 22:32:27 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eRmuW-0004FW-HQ for pgsql-committers@postgresql.org; Wed, 20 Dec 2017 22:32:26 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eRmuW-0006Hu-21 for pgsql-committers@postgresql.org; Wed, 20 Dec 2017 22:32:24 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.84_2) (envelope-from ) id 1eRmuV-0000tj-KS for pgsql-committers@postgresql.org; Wed, 20 Dec 2017 22:32:23 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Robert Haas Subject: pgsql: When passing query strings to workers, pass the terminating \0. Message-Id: Date: Wed, 20 Dec 2017 22:32:23 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk V2hlbiBwYXNzaW5nIHF1ZXJ5IHN0cmluZ3MgdG8gd29ya2VycywgcGFzcyB0aGUgdGVybWluYXRp bmcgXDAuCgpPdGhlcndpc2UsIHdoZW4gdGhlIHF1ZXJ5IHN0cmluZyBpcyByZWFkLCB3ZSBtaWdo dCB0cmFpbGluZyBnYXJiYWdlCmJleW9uZCB0aGUgZW5kLCB1bmxlc3MgdGhlcmUgaGFwcGVucyB0 byBiZSBhIFwwIHRoZXJlIGJ5IGdvb2QgbHVjay4KClJlcG9ydCBhbmQgcGF0Y2ggYnkgVGhvbWFz IE11bnJvLiBSZXZpZXdlZCBieSBSYWZpYSBTYWJpaC4KCkRpc2N1c3Npb246IGh0dHA6Ly9wb3N0 Z3IuZXMvbS9DQUVlcG09MlNKczdYK192eDhRb0R1OGQxU01FT3h0TGh4eExOelp1bl9Cdk5rdU5o cndAbWFpbC5nbWFpbC5jb20KCkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0K aHR0cHM6Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi9mOTRlZWM0OTBiMjY3MTM5 OWMxMDJiODljOWZhMDMxMWFlYTNhMzlmCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpz cmMvYmFja2VuZC9leGVjdXRvci9leGVjUGFyYWxsZWwuYyB8IDYgKysrLS0tCjEgZmlsZSBjaGFu Z2VkLCAzIGluc2VydGlvbnMoKyksIDMgZGVsZXRpb25zKC0pCgo=