| 660 | } |
| 661 | |
| 662 | bool db_pgsql::begin_transaction(void) |
| 663 | { |
| 664 | const char* sql = "start transaction"; |
| 665 | if (!sql_update(sql)) { |
| 666 | logger_error("%s error: %s", sql, get_error()); |
| 667 | return false; |
| 668 | } |
| 669 | return true; |
| 670 | } |
| 671 | |
| 672 | bool db_pgsql::commit(void) |
| 673 | { |
no test coverage detected