| 301 | |
| 302 | |
| 303 | void PgWriter::DeleteTable(std::string const& schema_name, |
| 304 | std::string const& table_name) |
| 305 | { |
| 306 | std::ostringstream stmt; |
| 307 | std::ostringstream name; |
| 308 | |
| 309 | stmt << "DROP TABLE IF EXISTS "; |
| 310 | |
| 311 | if (schema_name.size()) |
| 312 | { |
| 313 | name << pg_quote_identifier(schema_name) << "."; |
| 314 | } |
| 315 | name << pg_quote_identifier(table_name); |
| 316 | stmt << name.str(); |
| 317 | |
| 318 | pg_execute(m_session, stmt.str()); |
| 319 | } |
| 320 | |
| 321 | |
| 322 | bool PgWriter::CheckPointCloudExists() |
nothing calls this directly
no test coverage detected