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

Commit2ac3be2

Browse files
committed
Fix pg_get_functiondef to dump parallel-safety markings.
Ashutosh Sharma
1 parent213c7df commit2ac3be2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎src/backend/utils/adt/ruleutils.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,6 +1988,19 @@ pg_get_functiondef(PG_FUNCTION_ARGS)
19881988
casePROVOLATILE_VOLATILE:
19891989
break;
19901990
}
1991+
1992+
switch (proc->proparallel)
1993+
{
1994+
casePROPARALLEL_SAFE:
1995+
appendStringInfoString(&buf," PARALLEL SAFE");
1996+
break;
1997+
casePROPARALLEL_RESTRICTED:
1998+
appendStringInfoString(&buf," PARALLEL RESTRICTED");
1999+
break;
2000+
casePROPARALLEL_UNSAFE:
2001+
break;
2002+
}
2003+
19912004
if (proc->proisstrict)
19922005
appendStringInfoString(&buf," STRICT");
19932006
if (proc->prosecdef)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp