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 1kERT6-00013P-R3 for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Sep 2020 06:14:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kERT5-0002h6-Fr for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Sep 2020 06:14:31 +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 1kERT4-0002gy-AO for pgsql-hackers@lists.postgresql.org; Sat, 05 Sep 2020 06:14:31 +0000 Received: from wforward4-smtp.messagingengine.com ([64.147.123.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kERSu-0004Eb-GR for pgsql-hackers@postgresql.org; Sat, 05 Sep 2020 06:14:28 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.west.internal (Postfix) with ESMTP id 2E6625B1 for ; Sat, 5 Sep 2020 02:14:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 05 Sep 2020 02:14:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=jaHBUzVoSb52UxCG5cWkc2LCKvEa6 kmZhlBoh/E2pWo=; b=Xvg0AGgBY+7EsZeCqTG+eXEAbj2n/EEHy6WjrhZtr8br0 dVWZIzLVRTLajxQJPVZy4QI/4ir5IP0NG4O7vzRvWGrrUxF/SrGfNauzgXsN2Pr+ AS50bCZKIcERqRvJxDogD2hR0uH4HHv8YrvejxFj6C0hlpRfwbhVToHAuW/Ct6KV ETFkAHKRdgggRc7BKysKcuepFBtqADFJbReXmw7TGbaXBP2IYpYXOEXBRYLxk1oY L3FZmRAKfpnEq06Amwk7v2ZP2m3bu4GpFWYzUdk6IFohuZQJgLxlmhtI8UBWNplJ ke5JV18zCD7fpNhrioMMQTJMsMluozNOPTWV0uQbQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeggedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepvffhufhokffffgggtgesmhdtre ertdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdr vghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhmqeenucggtffrrghtth gvrhhnpeekieelleeftddtleetkeevgfehhfdviefgudetjedtueeugfffvdeltefhfeeu vdenucffohhmrghinhepvdhnughquhgrughrrghnthdrtghomhenucfkphepledurdduge drvdeffedrfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtoh hm X-ME-Proxy: Received: from april.pezone.net (p5b0ee921.dip0.t-ipconnect.de [91.14.233.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 008233280059 for ; Sat, 5 Sep 2020 02:14:15 -0400 (EDT) To: pgsql-hackers From: Peter Eisentraut Subject: Use for name of unnamed portal's memory context Organization: 2ndQuadrant Message-ID: Date: Sat, 5 Sep 2020 08:14:14 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------65634E9B5108647F579857EC" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------65634E9B5108647F579857EC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I propose the attached little patch to set the name of the memory context of an unnamed portal to "" instead of just an empty string. Otherwise the debug memory context dump looks a little confusing. We use this convention elsewhere for making unnamed statements etc. more clearly visible. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --------------65634E9B5108647F579857EC Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="0001-Use-unnamed-for-name-of-unnamed-portal-s-memory-cont.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="0001-Use-unnamed-for-name-of-unnamed-portal-s-memory-cont.pa"; filename*1="tch" RnJvbSA0MDlhYmMxNTI5M2VmZGM4ZWM2NWRiNzdlZmE0MGQyZDk1MTdhZDBiIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRlciBFaXNlbnRyYXV0IDxwZXRlckBlaXNlbnRy YXV0Lm9yZz4KRGF0ZTogU2F0LCA1IFNlcCAyMDIwIDA4OjA5OjUxICswMjAwClN1YmplY3Q6 IFtQQVRDSF0gVXNlIDx1bm5hbWVkPiBmb3IgbmFtZSBvZiB1bm5hbWVkIHBvcnRhbCdzIG1l bW9yeSBjb250ZXh0CgpPdGhlcndpc2UganVzdCBwcmludGluZyBhbiBlbXB0eSBzdHJpbmcg bWFrZXMgdGhlIG1lbW9yeSBjb250ZXh0IGRlYnVnCm91dHB1dCBzbGlnaHRseSBjb25mdXNp bmcuCi0tLQogc3JjL2JhY2tlbmQvdXRpbHMvbW1nci9wb3J0YWxtZW0uYyB8IDIgKy0KIDEg ZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdp dCBhL3NyYy9iYWNrZW5kL3V0aWxzL21tZ3IvcG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