MCPcopy Create free account
hub / github.com/PDAL/PDAL / CursorSetup

Method CursorSetup

plugins/pgpointcloud/io/PgReader.cpp:260–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259
260void PgReader::CursorSetup()
261{
262 std::ostringstream oss;
263 oss << "DECLARE cur CURSOR FOR " << getDataQuery();
264 pg_begin(m_session);
265 pg_execute(m_session, oss.str());
266
267 log()->get(LogLevel::Debug) << "SQL cursor prepared: " <<
268 oss.str() << std::endl;
269}
270
271
272void PgReader::CursorTeardown()

Callers

nothing calls this directly

Calls 5

pg_beginFunction · 0.85
pg_executeFunction · 0.85
strMethod · 0.80
logFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected