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

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-05T06:14:14Z
Lists: pgsql-hackers

Attachments

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

Commits

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