Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
postgresql_backend.h File Reference

PostgreSQL database backend plugin implementation. More...

#include "../core/backend_base.h"
#include "../core/backend_registry.h"
#include <memory>
#include <string>
#include <vector>
#include <atomic>
Include dependency graph for postgresql_backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  database::backends::postgresql_backend
 PostgreSQL implementation of database_backend interface. More...
 

Namespaces

namespace  database
 
namespace  database::backends
 

Detailed Description

PostgreSQL database backend plugin implementation.

This file implements the database_backend interface for PostgreSQL, directly using libpq/pqxx without depending on the legacy postgres_manager.

Issue #286: Update backends to use database_backend only Issue #328: Refactored to use backend_base template

  • Implements database_backend interface via backend_base CRTP
  • Registers with backend_registry for runtime selection
  • Eliminates dependency on database_base-derived classes
  • Uses Result-based error handling pattern

Definition in file postgresql_backend.h.