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

Commitde0197d

Browse files
committed
Warn that pathman is disabled in case of broken hash partitioned table.
1 parent2ec3923 commitde0197d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/relation_info.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,9 +809,10 @@ fill_prel_with_partitions(PartRelationInfo *prel,
809809
if (!OidIsValid(prel->children[i]))
810810
{
811811
DisablePathman();/* disable pg_pathman since config is broken */
812-
elog(ERROR,"pg_pathman's cache for relation \"%s\" "
813-
"has not been properly initialized",
814-
get_rel_name_or_relid(PrelParentRelid(prel)));
812+
ereport(ERROR, (errmsg("pg_pathman's cache for relation \"%s\" "
813+
"has not been properly initialized",
814+
get_rel_name_or_relid(PrelParentRelid(prel))),
815+
errhint(INIT_ERROR_HINT)));
815816
}
816817
}
817818
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp