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

Commit32c393f

Browse files
committed
Remove obsolete Python version check
The checked version is already the current minimum supported version(3.2).Discussion:https://www.postgresql.org/message-id/flat/ee410de1-1e0b-4770-b125-eeefd4726a24@eisentraut.org
1 parent363a6e8 commit32c393f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎src/pl/plpython/plpy_exec.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,13 +1066,7 @@ PLy_procedure_call(PLyProcedure *proc, const char *kargs, PyObject *vargs)
10661066

10671067
PG_TRY();
10681068
{
1069-
#ifPY_VERSION_HEX >=0x03020000
1070-
rv=PyEval_EvalCode(proc->code,
1071-
proc->globals,proc->globals);
1072-
#else
1073-
rv=PyEval_EvalCode((PyCodeObject*)proc->code,
1074-
proc->globals,proc->globals);
1075-
#endif
1069+
rv=PyEval_EvalCode(proc->code,proc->globals,proc->globals);
10761070

10771071
/*
10781072
* Since plpy will only let you close subtransactions that you

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp