Move and rename fmtReloptionsArray().

Dean Rasheed <dean.a.rasheed@gmail.com>

Commit: 93a8c6fd6c5eeb61c12402f616a327d998a731c4
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2016-05-06T11:45:36Z
Releases: 9.6.0
Move and rename fmtReloptionsArray().

Move fmtReloptionsArray() from pg_dump.c to string_utils.c so that it
is available to other frontend code. In particular psql's \ev and \sv
commands need it to handle view reloptions. Also rename the function
to appendReloptionsArray(), which is a more accurate description of
what it does.

Author: Dean Rasheed
Reviewed-by: Peter Eisentraut
Discussion: http://www.postgresql.org/message-id/CAEZATCWZjCgKRyM-agE0p8ax15j9uyQoF=qew7D2xB6cF76T8A@mail.gmail.com

Files

PathChange+/−
src/bin/pg_dump/pg_dump.c modified +14 −63
src/fe_utils/string_utils.c modified +72 −0
src/include/fe_utils/string_utils.h modified +3 −0

Discussion