File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ RETURNS TABLE (
285
285
pid INT ,
286
286
dbid OID ,
287
287
relid REGCLASS,
288
- processed INT ,
288
+ processed INT8 ,
289
289
status TEXT )
290
290
AS ' pg_pathman' , ' show_concurrent_part_tasks_internal'
291
291
LANGUAGE C STRICT;
Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ show_concurrent_part_tasks_internal(PG_FUNCTION_ARGS)
837
837
TupleDescInitEntry (tupdesc , Anum_pathman_cp_tasks_relid ,
838
838
"relid" , REGCLASSOID , -1 , 0 );
839
839
TupleDescInitEntry (tupdesc , Anum_pathman_cp_tasks_processed ,
840
- "processed" , INT4OID , -1 , 0 );
840
+ "processed" , INT8OID , -1 , 0 );
841
841
TupleDescInitEntry (tupdesc , Anum_pathman_cp_tasks_status ,
842
842
"status" , TEXTOID , -1 , 0 );
843
843
@@ -874,8 +874,7 @@ show_concurrent_part_tasks_internal(PG_FUNCTION_ARGS)
874
874
875
875
/* Record processed rows */
876
876
values [Anum_pathman_cp_tasks_processed - 1 ] =
877
- /* FIXME: use Int64GetDatum() in release 1.5 */
878
- Int32GetDatum ((int32 ) slot_copy .total_rows );
877
+ Int64GetDatum (slot_copy .total_rows );
879
878
880
879
/* Now build a status string */
881
880
values [Anum_pathman_cp_tasks_status - 1 ] =
You can’t perform that action at this time.
0 commit comments