Imprement FR #25854	Return value for pg_insert should be resource instead of bool