diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-04-26 07:05:21 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-04-26 07:05:21 +0200 |
commit | 3cbea581c76e86d51b8f2babf116e643847e7712 (patch) | |
tree | 41e07aba440aaea064dcbbcc8e8f0d6e32403432 | |
parent | 6d2e87a077b3c2394e4adb8eb226b3dcfe3f3346 (diff) | |
download | postgresql-3cbea581c76e86d51b8f2babf116e643847e7712.tar.gz postgresql-3cbea581c76e86d51b8f2babf116e643847e7712.zip |
Remove unused function argument
This was already unused in the initial commit
257836a75585934cc05ed7a80bccf8190d41e056. Apparently, it was used in
an earlier proposed patch version.
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index e397b763568..3cb3598f2b5 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -297,7 +297,7 @@ static const char *getAttrName(int attrnum, const TableInfo *tblInfo); static const char *fmtCopyColumnList(const TableInfo *ti, PQExpBuffer buffer); static bool nonemptyReloptions(const char *reloptions); static void appendIndexCollationVersion(PQExpBuffer buffer, const IndxInfo *indxinfo, - int enc, bool coll_unknown, + bool coll_unknown, Archive *fout); static void appendReloptionsArrayAH(PQExpBuffer buffer, const char *reloptions, const char *prefix, Archive *fout); @@ -16844,8 +16844,7 @@ dumpIndex(Archive *fout, const IndxInfo *indxinfo) "INDEX", qqindxname); if (dopt->binary_upgrade) - appendIndexCollationVersion(q, indxinfo, fout->encoding, - dopt->coll_unknown, fout); + appendIndexCollationVersion(q, indxinfo, dopt->coll_unknown, fout); /* If the index defines identity, we need to record that. */ if (indxinfo->indisreplident) @@ -16877,8 +16876,7 @@ dumpIndex(Archive *fout, const IndxInfo *indxinfo) } else if (dopt->binary_upgrade) { - appendIndexCollationVersion(q, indxinfo, fout->encoding, - dopt->coll_unknown, fout); + appendIndexCollationVersion(q, indxinfo, dopt->coll_unknown, fout); if (indxinfo->dobj.dump & DUMP_COMPONENT_DEFINITION) ArchiveEntry(fout, indxinfo->dobj.catId, indxinfo->dobj.dumpId, @@ -18903,7 +18901,7 @@ nonemptyReloptions(const char *reloptions) * cluster, during a binary upgrade. */ static void -appendIndexCollationVersion(PQExpBuffer buffer, const IndxInfo *indxinfo, int enc, +appendIndexCollationVersion(PQExpBuffer buffer, const IndxInfo *indxinfo, bool coll_unknown, Archive *fout) { char *inddependcollnames = indxinfo->inddependcollnames; |