Re: Use appendStringInfoSpaces more - Mailing list pgsql-hackers

From David Rowley
Subject Re: Use appendStringInfoSpaces more
Date
Msg-id CAApHDvpO9ucjy3cp9wyf0bhc6b5nauJMEEaWWVyK7yqJdnDicw@mail.gmail.com
Whole thread Raw
In response to Re: Use appendStringInfoSpaces more  (Peter Smith <smithpb2250@gmail.com>)
List pgsql-hackers
On Fri, 20 Jan 2023 at 10:23, Peter Smith <smithpb2250@gmail.com> wrote:
> Should the add_indent function also have a check to avoid making
> unnecessary calls to appendStringInfoSpaces when the level is 0?

Although I didn't opt to do that, thank you for having a look.

I do think the patch is trivially simple and nobody seems against it,
so I've now pushed it.

David



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Experiments with Postgres and SSL
Next
From: Peter Geoghegan
Date:
Subject: Re: Decoupling antiwraparound autovacuum from special rules around auto cancellation