}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getEdgeById: edge query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getEdgeById: edge query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getEdgeByNode: edge query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getEdgeByNode: edge query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getEdgeByFace: edge query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getEdgeByFace: edge query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getFaceById: face query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getFaceById: face query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getRingEdges: edge query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getRingEdges: edge query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getNodeById: edge query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getNodeById: edge query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
- POSTGIS_DEBUGF(1, "cb_getNodeByFace: edge query returned %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_getNodeByFace: edge query returned %ld rows", SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
{
pfree(sqldata.data);
POSTGIS_DEBUGF(1, "cb_getEdgeWithinDistance2D: edge query "
- "(limited by %d) returned %d rows",
+ "(limited by %d) returned %ld rows",
elems_requested, SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
pfree(sqldata.data);
POSTGIS_DEBUGF(1, "cb_getNodeWithinDistance2D: node query "
- "(limited by %d) returned %d rows",
+ "(limited by %d) returned %ld rows",
elems_requested, SPI_processed);
if ( ! SPI_processed )
{
}
pfree(sqldata.data);
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_insertEdges query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_insertEdges query processed %ld rows", SPI_processed);
if ( SPI_processed != (uint64) numelems )
{
cberror(topo->be_data, "processed " UINT64_FORMAT " rows, expected %d",
}
pfree(sqldata.data);
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_insertFaces query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_insertFaces query processed %ld rows", SPI_processed);
if ( SPI_processed != (uint64) numelems )
{
- cberror(topo->be_data, "processed " UINT64_FORMAT " rows, expected %d",
+ cberror(topo->be_data, "processed " UINT64_FORMAT " rows, expected %ld",
(uint64)SPI_processed, numelems);
return -1;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_updateEdges: update query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_updateEdges: update query processed %ld rows", SPI_processed);
return SPI_processed;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_updateNodes: update query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_updateNodes: update query processed %ld rows", SPI_processed);
return SPI_processed;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_updateNodesById: update query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_updateNodesById: update query processed %ld rows", SPI_processed);
return SPI_processed;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_updateFacesById: update query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_updateFacesById: update query processed %ld rows", SPI_processed);
return SPI_processed;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_updateEdgesById: update query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_updateEdgesById: update query processed %ld rows", SPI_processed);
return SPI_processed;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_deleteEdges: delete query processed %d rows", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_deleteEdges: delete query processed %ld rows", SPI_processed);
return SPI_processed;
}
if ( spi_result == SPI_OK_DELETE_RETURNING && SPI_processed )
{
- POSTGIS_DEBUGF(1, "cb_updateTopoGeomEdgeSplit: deleted %d faces", SPI_processed);
+ POSTGIS_DEBUGF(1, "cb_updateTopoGeomEdgeSplit: deleted %ld faces", SPI_processed);
topo->be_data->data_changed = true;
}
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_deleteFacesById: delete query processed %d rows",
+ POSTGIS_DEBUGF(1, "cb_deleteFacesById: delete query processed %ld rows",
SPI_processed);
return SPI_processed;
if ( SPI_processed ) topo->be_data->data_changed = true;
- POSTGIS_DEBUGF(1, "cb_deleteNodesById: delete query processed %d rows",
+ POSTGIS_DEBUGF(1, "cb_deleteNodesById: delete query processed %ld rows",
SPI_processed);
return SPI_processed;
pfree(sqldata.data);
POSTGIS_DEBUGF(1, "cb_getNodeWithinBox2D: edge query "
- "(limited by %d) returned %d rows",
+ "(limited by %d) returned %ld rows",
elems_requested, SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
pfree(sqldata.data);
POSTGIS_DEBUGF(1, "cb_getEdgeWithinBox2D: edge query "
- "(limited by %d) returned %d rows",
+ "(limited by %d) returned %ld rows",
elems_requested, SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )
pfree(sqldata.data);
POSTGIS_DEBUGF(1, "cb_getFaceWithinBox2D: face query "
- "(limited by %d) returned %d rows",
+ "(limited by %d) returned %ld rows",
elems_requested, SPI_processed);
*numelems = SPI_processed;
if ( ! SPI_processed )