Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
postgres_manager.cpp File Reference
#include "postgres_manager.h"
#include <iostream>
#include <sstream>
#include <stdexcept>
Include dependency graph for postgres_manager.cpp:

Go to the source code of this file.

Namespaces

namespace  database
 

Macros

#define POSTGRES_LOG_ERROR(context, message)
 
#define POSTGRES_LOG_WARNING(message)
 
#define POSTGRES_LOG_INFO(message)
 

Macro Definition Documentation

◆ POSTGRES_LOG_ERROR

#define POSTGRES_LOG_ERROR ( context,
message )
Value:
std::cerr << "[PostgreSQL:" << context << "] Error: " << message << std::endl

Definition at line 18 of file postgres_manager.cpp.

18#define POSTGRES_LOG_ERROR(context, message) \
19 std::cerr << "[PostgreSQL:" << context << "] Error: " << message << std::endl

Referenced by database::postgres_manager::execute_modification_query(), database::postgres_manager::execute_query(), database::postgres_manager::initialize(), database::postgres_manager::select_query(), and database::postgres_manager::shutdown().

◆ POSTGRES_LOG_INFO

#define POSTGRES_LOG_INFO ( message)
Value:
std::cout << "[PostgreSQL] Info: " << message << std::endl

Definition at line 22 of file postgres_manager.cpp.

22#define POSTGRES_LOG_INFO(message) \
23 std::cout << "[PostgreSQL] Info: " << message << std::endl

Referenced by database::postgres_manager::execute_query().

◆ POSTGRES_LOG_WARNING

#define POSTGRES_LOG_WARNING ( message)
Value:
std::cerr << "[PostgreSQL] Warning: " << message << std::endl

Definition at line 20 of file postgres_manager.cpp.

20#define POSTGRES_LOG_WARNING(message) \
21 std::cerr << "[PostgreSQL] Warning: " << message << std::endl

Referenced by database::postgres_manager::execute_modification_query(), database::postgres_manager::initialize(), database::postgres_manager::select_query(), and database::postgres_manager::shutdown().