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

Appearance settings

Commit de0197d

Browse filesBrowse files
committed
Warn that pathman is disabled in case of broken hash partitioned table.
1 parent 2ec3923 commit de0197d
Copy full SHA for de0197d

File tree

1 file changed

+4
-3
lines changed
Filter options

1 file changed

+4
-3
lines changed

‎src/relation_info.c

Copy file name to clipboardExpand all lines: src/relation_info.c
+4-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.