Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3cbea58

Browse files
committed
Remove unused function argument
This was already unused in the initial commit257836a. Apparently, it was used inan earlier proposed patch version.
1 parent6d2e87a commit3cbea58

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static const char *getAttrName(int attrnum, const TableInfo *tblInfo);
297297
static const char *fmtCopyColumnList(const TableInfo *ti, PQExpBuffer buffer);
298298
static bool nonemptyReloptions(const char *reloptions);
299299
static void appendIndexCollationVersion(PQExpBuffer buffer, const IndxInfo *indxinfo,
300-
int enc,bool coll_unknown,
300+
bool coll_unknown,
301301
Archive *fout);
302302
static void appendReloptionsArrayAH(PQExpBuffer buffer, const char *reloptions,
303303
const char *prefix, Archive *fout);
@@ -16844,8 +16844,7 @@ dumpIndex(Archive *fout, const IndxInfo *indxinfo)
1684416844
"INDEX", qqindxname);
1684516845

1684616846
if (dopt->binary_upgrade)
16847-
appendIndexCollationVersion(q, indxinfo, fout->encoding,
16848-
dopt->coll_unknown, fout);
16847+
appendIndexCollationVersion(q, indxinfo, dopt->coll_unknown, fout);
1684916848

1685016849
/* If the index defines identity, we need to record that. */
1685116850
if (indxinfo->indisreplident)
@@ -16877,8 +16876,7 @@ dumpIndex(Archive *fout, const IndxInfo *indxinfo)
1687716876
}
1687816877
else if (dopt->binary_upgrade)
1687916878
{
16880-
appendIndexCollationVersion(q, indxinfo, fout->encoding,
16881-
dopt->coll_unknown, fout);
16879+
appendIndexCollationVersion(q, indxinfo, dopt->coll_unknown, fout);
1688216880

1688316881
if (indxinfo->dobj.dump & DUMP_COMPONENT_DEFINITION)
1688416882
ArchiveEntry(fout, indxinfo->dobj.catId, indxinfo->dobj.dumpId,
@@ -18903,7 +18901,7 @@ nonemptyReloptions(const char *reloptions)
1890318901
* cluster, during a binary upgrade.
1890418902
*/
1890518903
static void
18906-
appendIndexCollationVersion(PQExpBuffer buffer, const IndxInfo *indxinfo, int enc,
18904+
appendIndexCollationVersion(PQExpBuffer buffer, const IndxInfo *indxinfo,
1890718905
bool coll_unknown, Archive *fout)
1890818906
{
1890918907
char *inddependcollnames = indxinfo->inddependcollnames;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp