void PgReader::done(PointContextRef ctx) { CursorTeardown(); if (m_session) PQfinish(m_session); m_session = NULL; if (m_cur_result) PQclear(m_cur_result); }
void PgReader::done(PointTableRef /*table*/) { CursorTeardown(); if (m_session) PQfinish(m_session); m_session = NULL; if (m_cur_result) PQclear(m_cur_result); }