Use <unnamed> for name of unnamed portal's memory context

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Use <unnamed> for name of unnamed portal's memory context
Date: 2020-09-05 06:14:14
Message-ID: ccb353ef-89ff-09b3-8046-1d2514624b9c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I propose the attached little patch to set the name of the memory
context of an unnamed portal to "<unnamed>" 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

Attachment Content-Type Size
0001-Use-unnamed-for-name-of-unnamed-portal-s-memory-cont.patch text/plain 981 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2020-09-05 06:24:13 Re: Use <unnamed> for name of unnamed portal's memory context
Previous Message Thomas Munro 2020-09-05 05:56:18 Re: Implementing Incremental View Maintenance