Обсуждение: pgsql: Move and rename fmtReloptionsArray().

Поиск
Список
Период
Сортировка

pgsql: Move and rename fmtReloptionsArray().

От
Dean Rasheed
Дата:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/93a8c6fd6c5eeb61c12402f616a327d998a731c4

Modified Files
--------------
src/bin/pg_dump/pg_dump.c           | 77 +++++++------------------------------
src/fe_utils/string_utils.c         | 72 ++++++++++++++++++++++++++++++++++
src/include/fe_utils/string_utils.h |  3 ++
3 files changed, 89 insertions(+), 63 deletions(-)