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

Commitbdbfd34

Browse files
committed
pg_dump dumped the wrong tablespace for an index (ie, the parent table's
tablespace instead of the index's own), except when the index was createdas a constraint. Report and fix by Tanida Yutaka.
1 parent3e2e58b commitbdbfd34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.400 2005/01/11 17:55:25 tgl Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.401 2005/01/23 00:30:26 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -6899,7 +6899,7 @@ dumpIndex(Archive *fout, IndxInfo *indxinfo)
68996899
ArchiveEntry(fout,indxinfo->dobj.catId,indxinfo->dobj.dumpId,
69006900
indxinfo->dobj.name,
69016901
tbinfo->dobj.namespace->dobj.name,
6902-
tbinfo->reltablespace,
6902+
indxinfo->tablespace,
69036903
tbinfo->usename, false,
69046904
"INDEX",q->data,delq->data,NULL,
69056905
indxinfo->dobj.dependencies,indxinfo->dobj.nDeps,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp