Commit Graph

4373 Commits (38841bf189ba365ddca6fae93e9d134c40cabaa4)

Author SHA1 Message Date
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 515cf12ded Reject COPY FROM STDIN in extended query mode
8 months ago
Rahim Kanji 7a1852fb92 Skip Describe Portal results unless client explicitly requests it
8 months ago
Rahim Kanji 3dd401f81a Queue client packets during active query execution
8 months ago
Rahim Kanji fff2a91381 Fix omission of ReadyForQuery after error with pending extended-query messages
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ò 0d2e9ef0df
Merge pull request #5074 from wazir-ahmed/fix-multipart-crash
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 0bb5747291 Add Query Rewrite support for Extended Query Protocol
8 months ago
Rahim Kanji 2d569f3b95 Added support to terminate running queries on timeout
8 months ago
Wazir Ahmed 0a0336ecd1 fix: REST API server crash due to malformed multipart POST request
8 months ago
Rahim Kanji 58eac30ff3 Fixed SSL STATUS in PgSQL_Data_Stream
8 months ago
Rahim Kanji f715c546fa Added prepared statement map and connection status fields to PROXYSQL INTERNAL SESSION output
9 months ago
Rahim Kanji 4d3dc7b7e3 Fixed DISCARD ALL tag
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 27f1fed446 Handled DISCARD ALL, DISCARD PLANS, send rest of the varients to backend
9 months ago
Rahim Kanji a29eaf1eb2 Moved warning_in_hg from Base_Session to MySQL_Session
9 months ago
Rahim Kanji 8021121cfa Fixed PgSQL_Session::handler___status_NONE_or_default
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
René Cannaò 471ddfc7aa
Merge pull request #5060 from sysown/v3.0_session_param_reset_connection
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 bfc1484923 Added SET statement tracking tests
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 5e30bef674 Few fixes
9 months ago
Rahim Kanji 344ba25777 Add Watchdog PROXYSQLTEST covering MySQL and PgSQL threads
9 months ago
Rahim Kanji e4c0f5ccd8 Refactored Watchdog and integrated PostgreSQL thread monitoring into its loop.
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 7c71fe1a05 Prevent overwrite of named statements
9 months ago
Rahim Kanji 0de642559d Avoid crash when mirroring is set for PostgreSQL: show warning instead
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
Rahim Kanji dd1c7441f3 * Use C++17 if-initializers for map lookups
9 months ago
Rahim Kanji b989fc2bad Refined Bind Message parameter format, value handling, and result format iterator
9 months ago