Commit Graph

2271 Commits (v3.0)

Author SHA1 Message Date
René Cannaò ce9fdc9d7a
Merge branch 'v3.0' into v3.0.6-implement_FLUSH_STATS
3 months ago
Wazir Ahmed 643b322f29 MCP: Add stats endpoint and tools
3 months ago
Rene Cannao b965fc6df4 Fix PROXYSQLGENAI build - resolve circular includes and missing headers
3 months ago
Rene Cannao 48bc7dd7bf Merge v4.0 GenAI features into v3.0 with conditional compilation
3 months ago
René Cannaò e00617be11
Merge pull request #5333 from wazir-ahmed/v4.0-config-embedding-model
3 months ago
Wazir Ahmed 10026891ce RAG: Convert vector similarity search into a subquery
3 months ago
Javier Jaramago Fernández e351a0df74 feat: Add leading comments (--) detection for 'run_sql_readonly'
3 months ago
Miro Stauder cc1d93d08b implement admin command 'PROXYSQL FLUSH STATS' for DEBUG builds
3 months ago
Wazir Ahmed 8d022a0fcc RAG: Add 'model' request parameter for embedding service
3 months ago
Javier Jaramago Fernández a5ef787c7e feat: Improve logging for MCP and RAG tools
3 months ago
Wazir Ahmed c52c621b27 MCP: Add mcp-rag_endpoint_auth config
3 months ago
Wazir Ahmed 50de536534 MCP: Fix crash during server restarts
3 months ago
Rene Cannao c914feb230 Fix security issues identified in PR #5312 code review
3 months ago
Rene Cannao b3edc6524b fix: Escape SQL strings in harvest_view_definitions
3 months ago
Rene Cannao 18cc246209 fix: Add missing proxy declarations to MAIN_PROXY_SQLITE3 branch
3 months ago
Rene Cannao bd6d34f52b fix: Address SQL injection vulnerabilities from PR #26 review
3 months ago
Rene Cannao b4f521c634 Merge v3.1-MCP2 into v3.1-vec
3 months ago
Rene Cannao 02918d18b8 Fix PR #25 Review: All AI code reviewer feedback addressed
3 months ago
Rene Cannao a10c09bcc9 Fix PR #21 review: Security, memory safety, thread safety, and code cleanup
3 months ago
René Cannaò af28598b23
Merge pull request #19 from ProxySQL/v3.1-MCP2_QR
3 months ago
René Cannaò a831670a79
Merge pull request #21 from rahim-kanji/v3.1_fts-support
3 months ago
René Cannaò 75a62f334d
Merge branch 'v4.0' into v3.1-vec
3 months ago
Rene Cannao 0db022a179 Apply fixes
3 months ago
Rene Cannao 7bf9121057 sqlite3: fix duplicate proxy declarations and add forward declarations
3 months ago
René Cannaò d43ae6e121 Surgical fixes for macOS compatibility: headers, types, and Makefile linking
3 months ago
Rene Cannao 8dc4246bdc Introduce canonical proxy_sqlite3 symbol TU; update lib Makefile; remove MAIN_PROXY_SQLITE3 from main.cpp
3 months ago
René Cannaò fdb8dfb152 Build system: Darwin-specific fixes and strict platform parity
3 months ago
Rahim Kanji 18dd249438 Merge remote-tracking branch 'v3.1-vec' into v3.1_fts-support
3 months ago
Rahim Kanji 0d56918744 Add full-text search (FTS) tools to MCP query server
3 months ago
Rene Cannao 5d08deca7d Fix AI agent review issues
3 months ago
Wazir Ahmed e450f1b30f MCP: Handle DELETE method
3 months ago
Wazir Ahmed 68a41d6db8 MCP: Add handler for prompts and resources
3 months ago
Rene Cannao a1d9d2f1ba docs: Add comprehensive documentation to MCP features
3 months ago
Rene Cannao ad166c6b8a docs: Add comprehensive Doxygen documentation for RAG subsystem
3 months ago
Rene Cannao cc3cc25532 fix: Remove unused reset parameter from stats___mcp_query_rules()
3 months ago
Rene Cannao 3daaa5c592 feat: Implement RAG (Retrieval-Augmented Generation) subsystem
3 months ago
Rahim Kanji 5b8bb1952e Merge remote-tracking branch 'wqv3.1-vec' into v3.1_mcp-http-ssl-toggle
3 months ago
Rene Cannao f01fc79584 feat: Add runtime_mcp_query_rules table and fix stats_mcp_query_rules schema
3 months ago
Rene Cannao 5b502c0864 feat: Add question learning capability to demo agent
3 months ago
Rene Cannao 7e522aa2c0 feat: Add schema parameter to run_sql_readonly with per-connection tracking
3 months ago
Rene Cannao ee13e4bf13 feat: Add include_objects parameter to llm_search for complete object retrieval
3 months ago
Rene Cannao 5668c86809 fix: Implement FTS indexing for LLM artifacts and fix reserved keyword issue
3 months ago
Rene Cannao 2250b762a3 feat: Add query_tool_calls table to log MCP tool invocations
3 months ago
Rene Cannao 77643859e3 feat: Add timing columns to stats_mcp_query_tools_counters
3 months ago
Rene Cannao fb66af7c1b feat: Expose MCP catalog database in ProxySQL Admin interface
3 months ago
Rahim Kanji a15be695e0 Add GET/OPTIONS handlers for MCP HTTP transport
3 months ago
Rene Cannao 35b0b224ff refactor: Remove mcp-catalog_path variable and hardcode catalog path
3 months ago
Rene Cannao a816a756d4 feat: Add MCP query tool usage counters to stats schema
3 months ago
Rene Cannao 623675b369 feat: Add schema name resolver and deprecate direct DB tools
3 months ago
Rahim Kanji ddc4e65706 Add plain HTTP support for MCP server and fix SSL/port restart issues
3 months ago
Rene Cannao 1b7335acfe Fix two-phase discovery documentation and scripts
3 months ago
Rene Cannao 6f23d5bcd0 feat: Implement two-phase schema discovery architecture
3 months ago
Rene Cannao 7de3f0c510 feat: Add schema separation to MCP catalog and discovery scope constraint
3 months ago
Rene Cannao a3f0bade4e feat: Convert NL2SQL to generic LLM bridge
3 months ago
Rene Cannao 3fe8a48f70 Fix genai variable handling and add API key masking
3 months ago
Rene Cannao 4018a0ad3b fix: Follow MCP pattern for GenAI variables runtime table population
3 months ago
Rene Cannao 527bfed297 fix: Migrate AI variables to GenAI module for proper architecture
3 months ago
Rene Cannao ae4200dbc0 Enhance AI features with improved validation, memory safety, error handling, and performance monitoring
3 months ago
Rene Cannao 8f38b8a577 feat: Add exponential backoff retry for transient LLM failures
3 months ago
Rene Cannao d0dc36ac0b feat: Add structured logging with timing and request IDs
3 months ago
Rene Cannao 45e592b623 feat: Add structured error messages with context to NL2SQL
3 months ago
Rene Cannao 36b11223b2 feat: Improve SQL validation with multi-factor scoring
3 months ago
Rene Cannao 897d306d2d Refactor: Simplify NL2SQL to use only generic providers
3 months ago
Rene Cannao fec7d64093 feat: Implement NL2SQL vector cache with GenAI embedding generation
3 months ago
Rene Cannao 52a70b0b09 feat: Implement AI-based Anomaly Detection for ProxySQL
3 months ago
Rene Cannao 3f44229e28 feat: Add MCP AI Tool Handler for NL2SQL with test script
3 months ago
Rene Cannao 4f45c25945 docs: Add comprehensive doxygen comments to NL2SQL headers and LLM_Clients
3 months ago
René Cannaò 0bb9d0a6f1
Merge branch 'v3.0' into session-track-system-variable
3 months ago
Rene Cannao bc4fff12ce feat: Add NL2SQL query interception in MySQL_Session
3 months ago
Rene Cannao 147a059781 feat: Add NL2SQL converter with hybrid LLM support
3 months ago
Rene Cannao d9346fe64d feat: Add AI features manager foundation
3 months ago
Rahim Kanji ce42c188f5 Improvements
3 months ago
Rahim Kanji a1e10e3055 Add parameterized PID support for pg_cancel_backend/pg_terminate_backend
3 months ago
Rene Cannao b177750242 fix: correct PostgreSQL cluster sync architecture by removing separate module infrastructure
3 months ago
Rene Cannao f9e3e85e68 fix: address all AI review concerns for PostgreSQL cluster sync
3 months ago
René Cannaò 5154f9e4c4
Merge branch 'v3.0' into fix/postgresql-cluster-sync_2
3 months ago
Rene Cannao c5916100f1 fix: complete all AI review fixes for PostgreSQL cluster synchronization
3 months ago
Rene Cannao 5d6176649b refactor: implement comprehensive memory management framework
3 months ago
René Cannaò 313f637cf0
Merge branch 'v3.1-vec' into v3.1-MCP1
3 months ago
Rene Cannao 777a829f78 refactor: implement unified pull framework for cluster sync
3 months ago
René Cannaò b1e37b3387
Merge branch 'v3.0' into v3.0_pgsql-use-ssl-issue-5284
3 months ago
Rene Cannao d64b4c85d8 fix: resolve PostgreSQL cluster sync compilation issues
3 months ago
Rene Cannao c86a048d9c Implement MCP multi-endpoint architecture with dedicated tool handlers
3 months ago
Rene Cannao 086edfe307 feat: add PostgreSQL replication hostgroups and hostgroup attributes cluster sync
3 months ago
Rene Cannao 1b58c783d6 feat: implement PostgreSQL variables cluster sync core functionality
3 months ago
Rene Cannao 5af4011c51 feat: add CLUSTER_SYNC_INTERFACES_PGSQL interface filtering
3 months ago
Rene Cannao ab2c4f34b0 feat: add PostgreSQL variables to unified cluster sync
3 months ago
René Cannaò f82bcdff38
Merge branch 'v3.0' into session-track-system-variable
3 months ago
Rene Cannao 1beb5b9e5b fix: address review comments for PostgreSQL cluster sync PR
3 months ago
Rene Cannao 2e7109d894 Fix lock ordering in flush_mcp_variables___database_to_runtime
3 months ago
Rene Cannao 06aa6d6ef7 Add comprehensive Doxygen documentation for connection pool
3 months ago
Rene Cannao 4eab519848 Implement MySQL connection pool for MySQL_Tool_Handler
3 months ago
Rene Cannao 221ff23991 Add MySQL exploration MCP tools with SQLite catalog
3 months ago
Rene Cannao 81c53896bc Fix MCP module TAP test failures
3 months ago
Rene Cannao 245e61ee86 Make MCP_Threads_Handler a standalone independent class
3 months ago
Rene Cannao 87fff9e046 Add MCP (Model Context Protocol) module skeleton
3 months ago
Rene Cannao db2485be37 Add comprehensive doxygen documentation to GenAI async module
3 months ago
Rene Cannao 8405027124 Integrate GenAI async event handling into main MySQL session loop
3 months ago
Rene Cannao 0ff2e38e22 Implement async GenAI module with socketpair-based non-blocking architecture
3 months ago
Rene Cannao a82f58e22b Refactor GenAI module for autonomous JSON query processing
3 months ago
Rene Cannao cc3e97b7b8 Merge EMBED and RERANK into unified GENAI: query syntax
3 months ago
Rene Cannao 39939f598b Add experimental GenAI RERANK: query support for MySQL
3 months ago
Rene Cannao 253591d262 Add experimental GenAI EMBED: query support for MySQL
3 months ago
René Cannaò e6cbdcad7f
Merge pull request #5276 from sysown/v3.0_fork
3 months ago
Rene Cannao 1da9e384d2 Add poll() fallback for GenAI module when epoll is not available
3 months ago
Rene Cannao 960704066d Implement real GenAI module with embedding and rerank support
3 months ago
Rahim Kanji 556b1023c4 Removed change_user_auth_switch flag
3 months ago
René Cannaò 591e1bca6b
Merge pull request #5277 from sysown/v3.0_5272
4 months ago
Rene Cannao c476f56f97 Add initial GenAI module placeholder
4 months ago
Rene Cannao 8c90bda52a Address gemini-code-assist review comments for SSL keylog documentation
4 months ago
Rene Cannao b39e193f4f Fix critical issues in close_all_non_term_fd() per code review
4 months ago
Rene Cannao fc73ec1c50 Code review improvements: Add enum and refactor SELECT VERSION() handling
4 months ago
Rene Cannao 442635b721 Add comprehensive documentation for SSL/TLS key logging feature
4 months ago
Rene Cannao 366164ab26 Fix #5272: Add mysql-select_version_forwarding variable for SELECT VERSION()
4 months ago
René Cannaò af23187865
Merge pull request #5270 from sysown/v3.0_restapi_improvement
4 months ago
René Cannaò 461f5d52f2
Merge pull request #5266 from sysown/v3.0_mysql_monitor_crash_5256
4 months ago
Wazir Ahmed 0e537ddb3b Fix typo in 'EXCLUDE_TRACKING_VARIABLES' macro
4 months ago
Rahim Kanji 14aef13827 Add method to execute already prepared SQLite3 statements, supporting
4 months ago
Rahim Kanji 01a5b23b22 refactor connection pool put_connection to use mmsd and improve debug handling
4 months ago
Lisandro Pin 23c153f9d3
Add logic to support ranged GTID updates from proxysql_mysqlbinlog.
4 months ago
Wazir Ahmed f0ac86c317 Enable session tracking based on server capabilities
4 months ago
Rene Cannao 36442e4cd7 docs: Add comprehensive Doxygen documentation for session variable tracking
4 months ago
Wazir Ahmed 4b9c083209 MySQL: Track session-specific system variables changes
4 months ago
Javier Jaramago Fernández 5c8a32a0b0 Merge branch 'v3.0' of github.com:sysown/proxysql into v3.0-handle_unexp_ping
4 months ago
Javier Jaramago Fernández 6fea828e86 Improve logging in unexpected COM_PING packet handling
4 months ago
René Cannaò 88edaac61b
Merge pull request #5258 from sysown/misc251219
4 months ago
René Cannaò 0f7ff1f374
Merge branch 'v3.0' into v3.0_pgsql-query-digest-gen-5253
4 months ago
René Cannaò 2667540fcc
Merge pull request #5237 from sysown/v3.0_pgsql-monitor-sslsupport-5205
4 months ago
Javier Jaramago Fernández d0e88599ee Add special handling for unexpected COM_PING packets
4 months ago
Rene Cannao efe0d4fe61 Add extensive doxygen documentation for vacuum_stats and stats_pgsql_stat_activity
4 months ago
Rahim Kanji 42864e8867 Improved Tokenizer for PostgreSQL
4 months ago
Rene Cannao 2987242d4f Fix cache_empty_result=0 not caching non-empty resultsets (issue #5248)
4 months ago
Rahim Kanji fae283cf7e Add SSL and non-SSL connection OK metrics for PostgreSQL monitor connections
4 months ago
Rene Cannao 6c97d3d244 Add extensive Doxygen documentation for ProxySQL_Config and Read_Global_Variables_from_configfile
4 months ago
Rahim Kanji 895c814c77 Added utility functions to support pgsql query digest testing
5 months ago
Rahim Kanji 285fb1b4e1 Add PostgreSQL dialect support: dollar-quoted strings, identifier quoting, and dialect-specific comment rules
5 months ago
René Cannaò b73160ef5f
Merge pull request #4901 from sysown/v3.0_wait_timeout
5 months ago
Rene Cannao 5a7b22181f Fix metrics collection for wait_timeout counters
5 months ago
René Cannaò 65dbe904f0
Merge pull request #5199 from sysown/v3.0_refactor_monitoring_ping
5 months ago
Rene Cannao dc4694d656 Refactor idle session scanning and improve test precision
5 months ago
Rene Cannao 86cc7cd3da session: Fix wait_timeout member variable declaration and usage
5 months ago
René Cannaò b641c0d627
Merge pull request #5232 from sysown/fix/issue-4855
5 months ago
René Cannaò 3c4e09fec0
Merge pull request #5225 from sysown/v3.0_refactor_prepared_statement_cache_design_5211
5 months ago
Rahim Kanji 1251e4d539 Add Xoshiro128++ pseudo-random number generator to replace rand()
5 months ago
René Cannaò d188715a7d
Merge branch 'v3.0' into fix/issue-4855
5 months ago
Rene Cannao 4503c58608 refactor: unify duplicate get_peer_to_sync_* variables functions
5 months ago
Rene Cannao c37481adc5 feat: add missing PostgreSQL variables sync metrics counters
5 months ago
Rene Cannao e2d64114d4 Refactor ProxySQL_Cluster: Eliminate code duplication and modernize atomic operations
5 months ago
Rene Cannao a3130cae71 feat: Complete PostgreSQL cluster synchronization with pgsql_variables support
5 months ago
Rene Cannao 697b68e064 docs: Add comprehensive Doxygen documentation for PostgreSQL cluster sync
5 months ago
Rene Cannao a577491f42 Refactor issue 4855 fix: Use sqlite3_total_changes64 difference approach
5 months ago
Rene Cannao b67c7c1d1c feat: Implement PostgreSQL cluster synchronization for issue #5147
5 months ago
Rahim Kanji 1a48aadf5e Code cleanup
5 months ago
Wazir Ahmed 50c60284e6 gtid: Refactor reconnect logic & prevent `events_count` reset
5 months ago
Rahim Kanji c0f99c0e15 Refactor: Improved Prepared-Statement Cache Design (Lock-Free Hot Path) #5211
5 months ago
Rene Cannao 44aa606caa Implement fast forward grace close feature to prevent data loss
5 months ago
Rahim Kanji d84444724a Replaced use of the generic write_generic() helper with direct packet construction for selected PostgreSQL protocol messages to reduce overhead and improve performance.
5 months ago
Rahim Kanji e744c2bbb7 Optimize transaction command parsing to avoid unnecessary tokenization
5 months ago
Rahim Kanji 1c3c42959c Improve ping accuracy
6 months ago
Rahim Kanji 7a3a5c71df Optimize hot path: replace std::string with char[] to avoid heap
6 months ago
Javier Jaramago Fernández 64b16172c7 Change 'COM_STMT_EXECUTE' params length decoding
6 months ago
Javier Jaramago Fernández e35973b226 Add boundary checks in 'MySQL_Protocol::get_binds_from_pkt'
6 months ago
Lisandro Pin 6cb522283d Implement a ignore_min_gtid_annotation global variable for ProxySQL
6 months ago
Rahim Kanji 61ba182465 Introduce inline functions for efficient ASCII whitespace detection and uint32-to-string conversion
6 months ago
Wazir Ahmed 8d1b5b597c Revert "gtid: Refactor reconnect logic & prevent events_count reset"
6 months ago
René Cannaò 5018cb66d9
Merge pull request #5168 from sysown/v3.0-debug_log_pass
6 months ago
René Cannaò c6cbce34b1
Merge pull request #5117 from wazir-ahmed/gtid-reconn
6 months ago
René Cannaò 360646b7d5
Merge pull request #5165 from sysown/crash-sqlite-max-len
6 months ago
Wazir Ahmed 5219d4be93 processlist: Prevent crash due to SQLITE_TOOBIG
6 months ago
René Cannaò 7022833213
Merge pull request #5163 from sysown/v3.0_assert_to_warning
6 months ago
Javier Jaramago Fernández 4304b995a3 Improve debug message with context dump (passwords) during auth handshake
6 months ago
René Cannaò 436bcccc62
Merge pull request #5158 from sysown/v3.0.3-makefiles_cleanup
6 months ago
Miro Stauder d020f577b2 reduce duplication in makefiles, use include for common stuff
6 months ago
René Cannaò 562e98d551
Merge pull request #5130 from wazir-ahmed/stats-schema
6 months ago
Rahim Kanji 91c674495a Few fixes
6 months ago
René Cannaò ccf72b606c
Merge pull request #5134 from wazir-ahmed/mysqldump
6 months ago
René Cannaò 3b4369bba9
Merge pull request #5113 from wazir-ahmed/load-from-config-validation
6 months ago
René Cannaò ecad6f9249
Merge pull request #5160 from sysown/v3.0_disable_pgsql_prometheus_5159
6 months ago
René Cannaò abafaccbc0
Merge pull request #5156 from sysown/v3.0_pgsql_stat_activity_issue_4682
6 months ago
René Cannaò 73c15ba3ef
Merge pull request #5153 from sysown/v3.0_transaction_alias_support_5152
6 months ago
René Cannaò 01862a247a
Merge pull request #5149 from sysown/v3.0_track_search_path_param_5148
6 months ago
René Cannaò 413b0121a1
Merge pull request #5146 from sysown/v3.0_parameter_status_case_sensitive_issue_5145
6 months ago
René Cannaò c5a0a0011f
Merge pull request #5137 from sysown/v3.0_pgsql_query_cancel_terminate_issue_5136
6 months ago
Rahim Kanji cb2062c1d1 Few fixes
6 months ago
Rahim Kanji f88b781905 Removed pending_connect
6 months ago
Keith Brings aaefac0ca4
Merge pull request #5142 from sysown/v3.0_bind_fmt_bug_fix_5140
6 months ago
Rahim Kanji 5bfb6e216c Few fixes
6 months ago
Rahim Kanji 818025a3b3 Separate query cache metrics for MySQL and PostgreSQL
6 months ago
Rahim Kanji 0292b780e9 Fixed typo
6 months ago
Rahim Kanji f3ea179384 Add backend PID/state to stats_pgsql_processlist and create pg_stat_activity-style view
6 months ago
Rahim Kanji 81d4c3ad74 Added get_pg_backend_state
6 months ago
Rahim Kanji 45271572ec Add support for PostgreSQL transaction command aliases and ROLLBACK AND CHAIN
7 months ago
Rahim Kanji 83bec8d477 Refactored remove_quotes function
7 months ago
Rahim Kanji 8f8a8c29e3 Code cleanup: Removed is_select_NOT_for_update from PostgreSQL modules
7 months ago
Rahim Kanji b005c2dd8c Add tracking for PostgreSQL search_path parameter
7 months ago
Rahim Kanji 03b63f6857 Fix ParameterStatus capitalization for DateStyle, TimeZone, and IntervalStyle
7 months ago
Rahim Kanji 9931fbf1d6 Replace 0xFFFFFFFF with PGSQL_PARAM_NULL constant
7 months ago
Rahim Kanji 8060f98c28 Improve Parser
7 months ago
Rahim Kanji 944b0efcaf Fixed extended query message parser
7 months ago
Miro Stauder 5e7ab935ac fix new compiler issue in btree.h
7 months ago
Rahim Kanji 4d91452fc5 Implement backend query cancellation for PostgreSQL #5136
7 months ago
Wazir Ahmed b6d796c9f2 Improve `mysqldump` compatibility
7 months ago
René Cannaò e1b7afe282
Merge pull request #5099 from wazir-ahmed/clock-monotonic-raw
7 months ago
René Cannaò 18b07a0066
Merge pull request #5120 from sysown/v3.0_clang_compilation_fix
7 months ago
René Cannaò 9290a5ceec
Merge pull request #5124 from sysown/v3.0_postgres_query_logging_issue_5123
7 months ago
Rahim Kanji 9b0366a89a Improved PostgreSQL Logger
7 months ago
Wazir Ahmed 80744b4488 Remove `stats` schema name from the query in stats user session
7 months ago
Rahim Kanji a89291c9a9 Added query logging support for PostgreSQL
7 months ago
Rahim Kanji a7df0d3b3c Fixed clang compilation
7 months ago
Rahim Kanji 23a764eaac Preserve implicit transactions with pipeline + FLUSH #5118
7 months ago
Wazir Ahmed 0a70fd515f gtid: Refactor reconnect logic & prevent `events_count` reset
7 months ago
Wazir Ahmed 0a336de048 Add validation for `LOAD * FROM CONFIG`
8 months ago
Rahim Kanji ff50bb4ec1 Ensure PgSQL_Errors_statsvdestructor is invoked on delete #5112
8 months ago
Rahim Kanji 205f970ffa Append NoData for DESCRIBE(Portal) on SET/RESET/DISCARD/DEALLOCATE
8 months ago
Rahim Kanji 031d362aab Add STMT prefix to ASYC DESCRIBE status
8 months ago
Rahim Kanji 7d5fe54230 Refactor: unify result handling for Parse and Describe
8 months ago
Wazir Ahmed 8d29742e20 `QueryInfo::end_time` should always be greater than or equal to `start_time`
8 months ago
Wazir Ahmed daf1570c5d Replace `CLOCK_MONOTONIC` with `CLOCK_MONOTONIC_RAW`
8 months ago
Rahim Kanji 38841bf189 Remove DESCRIBE statement cache option
8 months ago
Rahim Kanji 9a5fa148c8 Inject implicit Sync if simple query arrives before extended query cycle is completed
8 months ago
Rahim Kanji be2ae45950 Merge branch 'v3.0' into 'v3.0_extended_query_protocol_phase_2'
8 months ago
Rahim Kanji abd19113c0 Fix RequestEnd: avoid updating internal state when query failed on backend
8 months ago
Rahim Kanji 96c989a854 * Replaced virtual RequestEnd method with CRTP (static polymorphism)
8 months ago
Rahim Kanji 8d8577b0ad Ensure PgSQL_Threads_Handler and PgSQL_HostGroups_Manager objects are released when ProxySQL shuts down or restarts.
8 months ago
Rahim Kanji c7ce5a8298 Ensure PgSQL_Threads_Handler and PgSQL_HostGroups_Manager objects are released when ProxySQL shuts down or restarts.
8 months ago
Rahim Kanji 7a1852fb92 Skip Describe Portal results unless client explicitly requests it
8 months ago
Rahim Kanji 8a3bab5002 Ensure consistent handling of NoData packets in PQsendQueryPrepared
8 months ago
Rahim Kanji 42400a1e8a Commented multi_pkt code
8 months ago
René Cannaò b5fa8ca1ae
Merge pull request #5044 from sysown/v3.0_extended_query_protocol
8 months ago
Rahim Kanji 9e4b76d6d1 * Refactored PgSQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___PGSQL_QUERY_qpo.
8 months ago
Rahim Kanji 2d569f3b95 Added support to terminate running queries on timeout
8 months ago
Rahim Kanji 58eac30ff3 Fixed SSL STATUS in PgSQL_Data_Stream
9 months ago
Rahim Kanji 0ddc6e9b93 * Implemented status tracking for LOCK TABLE and pg_advisory_xact_lock, with automatic reset on transaction end
9 months ago
Rahim Kanji a29eaf1eb2 Moved warning_in_hg from Base_Session to MySQL_Session
9 months ago
Rahim Kanji 4d195adc89 Renamed Multiplex status from MYSQL to PGSQL
9 months ago
Rahim Kanji 441504190d Moved sess_STMTs_meta and SLDH from Base_Session to MySQL_Session
9 months ago
René Cannaò afb1865107
Merge pull request #5043 from sysown/v3.0-pgsql_mon_table_fix
9 months ago
Rahim Kanji 070d4ca18d Added DEALLOCATE <stmt_name> and DEALLOCATE ALL support
9 months ago
Rahim Kanji 099597d2d8 Added client_close_all
9 months ago
Rahim Kanji 02eb58db79 Added SET statement tracking support
9 months ago
Rahim Kanji ce94a7080a Merge branch v3.0_session_param_reset_connection into v3.0_extended_query_protocol
9 months ago
Rahim Kanji 249b3d8725 * Replace C-style array with std::array in PgSQL_Connection
9 months ago
Rahim Kanji 50243ef283 Corrected RESET/DEFAULT logic
9 months ago
Rahim Kanji 1bcd09044b Refactor Connection Reset Handling
9 months ago
Rahim Kanji 344ba25777 Add Watchdog PROXYSQLTEST covering MySQL and PgSQL threads
9 months ago
Rahim Kanji 28931cd00d * Replaced malloc with std::vector for safer memory management.
9 months ago
Rahim Kanji 3619fa5d21 Added pgsql-max_stmts_per_connection variable
9 months ago
Rahim Kanji 4ebff4c0cc Added support for protocol-supplied (out-of-band) parameter typing (argument-based)
9 months ago
Rahim Kanji a8a2799187 Improved locks
9 months ago
Rahim Kanji 703a5f35f5 Added stats_pgsql_prepared_statements_info table
9 months ago