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

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-09-05T06:24:13Z
Lists: pgsql-hackers
so 5. 9. 2020 v 8:14 odesílatel Peter Eisentraut <
peter.eisentraut@2ndquadrant.com> napsal:

> 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.
>

+1

Pavel

>
> --
> 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