pgsql: Fix bogus size calculation in strlist_to_textarray().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bogus size calculation in strlist_to_textarray().
Date: 2017-09-23 19:02:04
Message-ID: E1dvpgi-0008Pr-2k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bogus size calculation in strlist_to_textarray().

It's making an array of Datum, not an array of text *. The mistake
is harmless since those are currently the same size, but it's still
wrong.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/737639017c87d5a0a466e8676f1eadc61d775c78

Modified Files
--------------
src/backend/catalog/objectaddress.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-23 19:16:57 pgsql: ... and the very same bug in publicationListToArray().
Previous Message Tom Lane 2017-09-23 18:05:51 Re: pgsql: Remove pgbench "progress" test pending solution of its timing is