]> granicus.if.org Git - postgresql/commit
Move and rename fmtReloptionsArray().
authorDean Rasheed <dean.a.rasheed@gmail.com>
Fri, 6 May 2016 11:45:36 +0000 (12:45 +0100)
committerDean Rasheed <dean.a.rasheed@gmail.com>
Fri, 6 May 2016 11:45:36 +0000 (12:45 +0100)
commit93a8c6fd6c5eeb61c12402f616a327d998a731c4
tree77f28fa788616dc5d282778e09ca885bbd91fe2b
parent306ff0aaf8ef2a4c69a799faf7e6c72fea1c4709
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
src/bin/pg_dump/pg_dump.c
src/fe_utils/string_utils.c
src/include/fe_utils/string_utils.h