Re: [patch]overallocate memory for curly braces in array_out

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Keiichi Hirobe <chalenge.akane@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-09-28T00:23:07Z
Lists: pgsql-hackers
Keiichi Hirobe <chalenge.akane@gmail.com> writes:
> I am not sure whether to fix another bug, but I fixed and I attached a new
> patch,
> please check it.

I think this duplicates what I already committed at

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=87d9bbca13f9c6b8f6ee986f0e399cb83bd731d4

			regards, tom lane


Commits

  1. Fix over-allocation of space for array_out()'s result string.