Postgresql-odbc May 2026

entry->statement_name = strdup(name); entry->sql = strdup(sql); entry->last_used = time(NULL); entry->use_count = 1; entry->next = statement_cache;

statement_cache = entry; return 0;

// In connection.h typedef struct // ... existing fields char my_new_param[256]; // new parameter int my_new_feature_enabled; ConnectionInfo_; // In connection.c - parse connection string static int parse_connection_string(ConnectionInfo_ *ci, const char *conn_str) // ... existing parsing code postgresql-odbc

if (duration > stmt->perf_metrics->slow_query_threshold_ms) QLOG_LOG(LOG_WARNING, "Slow query detected: %s (duration: %llu ms)", stmt->perf_metrics->last_query, duration); statement_name = strdup(name)