Skip to content

Commit c796121

Browse files
committed
Fix warning on PG 9.5+
1 parent 672625e commit c796121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ pythonSequenceToTuple(PyObject *p_value,
11671167
p_object = PySequence_GetItem(p_value, j);
11681168
if(p_object == NULL || p_object == Py_None){
11691169
nulls[i] = true;
1170-
values[i] = NULL;
1170+
values[i] = 0;
11711171
continue;
11721172
}
11731173
resetStringInfo(buffer);

0 commit comments

Comments
 (0)