Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqe8o-0008N8-Eh for pgsql-committers@arkaria.postgresql.org; Tue, 08 Jun 2021 15:59:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqe8n-0000WO-CT for pgsql-committers@arkaria.postgresql.org; Tue, 08 Jun 2021 15:59:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqe8n-0000WA-6t for pgsql-committers@lists.postgresql.org; Tue, 08 Jun 2021 15:59:45 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqe8k-0005IQ-Pj for pgsql-committers@lists.postgresql.org; Tue, 08 Jun 2021 15:59:44 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqe8j-0001Gv-BM for pgsql-committers@lists.postgresql.org; Tue, 08 Jun 2021 15:59:41 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lqe8i-0003vO-W5 for pgsql-committers@lists.postgresql.org; Tue, 08 Jun 2021 15:59:41 +0000 Content-Type: multipart/mixed; boundary="===============6096462701887813896==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Don't crash on empty statements in SQL-standard function bodies. X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Tue, 08 Jun 2021 15:59:40 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============6096462701887813896== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 RG9uJ3QgY3Jhc2ggb24gZW1wdHkgc3RhdGVtZW50cyBpbiBTUUwtc3RhbmRhcmQgZnVuY3Rpb24g Ym9kaWVzLgoKZ3JhbS55IHNob3VsZCBkaXNjYXJkIE5VTEwgcG9pbnRlcnMgKGVtcHR5IHN0YXRl bWVudHMpIHdoZW4KYXNzZW1ibGluZyBhIHJvdXRpbmVfYm9keV9zdG10X2xpc3QsIGFzIGl0IGRv ZXMgZm9yIG90aGVyCnNvcnRzIG9mIHN0YXRlbWVudCBsaXN0cy4KCkp1bGllbiBSb3VoYXVkIGFu ZCBUb20gTGFuZSwgcGVyIHJlcG9ydCBmcm9tIE5vYWggTWlzY2guCgpEaXNjdXNzaW9uOiBodHRw czovL3Bvc3Rnci5lcy9tLzIwMjEwNjA2MDQ0NDE4LkdBMjk3OTIzQHJmZC5sZWFkYm9hdC5jb20K CkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6Ly9naXQucG9zdGdy ZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi9iZmVlZGU5ZmE0NjRhYjcwN2ViNWFjNTcwNDc0MmJmNzhi ZDdhYzllCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFja2VuZC9wYXJzZXIv Z3JhbS55ICAgICAgICAgICAgICAgICAgICAgICB8IDYgKysrKystCnNyYy90ZXN0L3JlZ3Jlc3Mv ZXhwZWN0ZWQvY3JlYXRlX2Z1bmN0aW9uXzMub3V0IHwgMiArLQpzcmMvdGVzdC9yZWdyZXNzL3Nx bC9jcmVhdGVfZnVuY3Rpb25fMy5zcWwgICAgICB8IDIgKy0KMyBmaWxlcyBjaGFuZ2VkLCA3IGlu c2VydGlvbnMoKyksIDMgZGVsZXRpb25zKC0pCgo= --===============6096462701887813896==--