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

Commit47cb9ca

Browse files
committed
Fix possible failure in parallel index build.
Report and proposed fix by David Rowley, put in patch form byPeter Geoghegan.Discussion:http://postgr.es/m/CAKJS1f91kq1wfYR8rnRRfKtxyhU2woEA+=whd640UxMyU+O0EQ@mail.gmail.com
1 parent3d956d9 commit47cb9ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/catalog/index.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4064,8 +4064,7 @@ RemoveReindexPending(Oid indexOid)
40644064
staticvoid
40654065
ResetReindexPending(void)
40664066
{
4067-
if (IsInParallelMode())
4068-
elog(ERROR,"cannot modify reindex state during a parallel operation");
4067+
/* This may be called in leader error path */
40694068
pendingReindexedIndexes=NIL;
40704069
}
40714070

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp