Commit Graph

200 Commits (09d0dcb808be361e17e0fa6a1dfcf511e3c528be)

Author SHA1 Message Date
Rene Cannao af58865b06 Fix uninitialized memory in QueryParserArgs.buf
2 weeks ago
René Cannaò 2637d28f36
Merge pull request #5299 from sysown/v3.0_pg-cancel-terminate-backend-param-support_5298
1 month ago
Rahim Kanji 9ec045ca74 Fix PostgreSQL deadlock with Close Statement flood exceeding threshold_resultset_size
1 month ago
Rahim Kanji 67cbe46450 Simplify PID extraction
1 month ago
Rahim Kanji 5066ddd181 Removed isdigit
1 month ago
Rahim Kanji ce42c188f5 Improvements
1 month ago
Rahim Kanji a1e10e3055 Add parameterized PID support for pg_cancel_backend/pg_terminate_backend
1 month ago
Rahim Kanji 556b1023c4 Removed change_user_auth_switch flag
2 months ago
René Cannaò 0f7ff1f374
Merge branch 'v3.0' into v3.0_pgsql-query-digest-gen-5253
2 months ago
Rahim Kanji 42864e8867 Improved Tokenizer for PostgreSQL
2 months ago
Rene Cannao 2987242d4f Fix cache_empty_result=0 not caching non-empty resultsets (issue #5248)
2 months ago
Rahim Kanji 1a48aadf5e Code cleanup
3 months ago
Rahim Kanji c0f99c0e15 Refactor: Improved Prepared-Statement Cache Design (Lock-Free Hot Path) #5211
3 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.
4 months ago
Rahim Kanji e744c2bbb7 Optimize transaction command parsing to avoid unnecessary tokenization
4 months ago
Rahim Kanji 7a3a5c71df Optimize hot path: replace std::string with char[] to avoid heap
4 months ago
Rahim Kanji 9eb934e7f0 Buffer response until Extended Query frame completes; send early only if resultset threshold is reached.
4 months ago
René Cannaò a44dee127d
Merge pull request #5174 from sysown/v3.0_optimise_extended_query_response
4 months ago
Javier Jaramago Fernández 2668de77c2 Fix compilation warning for 'strncpy' due string truncation
4 months ago
Javier Jaramago Fernández c0978f9371 Fix potential 'use-after-free' by 'SHOW PROCESSLIST' (PgSQL)
4 months ago
Rahim Kanji 8291361bc1 Removed unnecessary writeout()
4 months ago
René Cannaò 360646b7d5
Merge pull request #5165 from sysown/crash-sqlite-max-len
4 months ago
Wazir Ahmed 5219d4be93 processlist: Prevent crash due to SQLITE_TOOBIG
4 months ago
Rahim Kanji ed20d09b8a Replaced std::get_if with std::visit
4 months ago
René Cannaò ecad6f9249
Merge pull request #5160 from sysown/v3.0_disable_pgsql_prometheus_5159
4 months ago
René Cannaò 73c15ba3ef
Merge pull request #5153 from sysown/v3.0_transaction_alias_support_5152
4 months ago
René Cannaò 01862a247a
Merge pull request #5149 from sysown/v3.0_track_search_path_param_5148
4 months ago
René Cannaò 42f6d9d74f
Merge pull request #5144 from sysown/v3.0_datestyle-parser-tweak
4 months ago
Rahim Kanji cb2062c1d1 Few fixes
4 months ago
Rahim Kanji 45271572ec Add support for PostgreSQL transaction command aliases and ROLLBACK AND CHAIN
5 months ago
Rahim Kanji 83bec8d477 Refactored remove_quotes function
5 months ago
Rahim Kanji 8f8a8c29e3 Code cleanup: Removed is_select_NOT_for_update from PostgreSQL modules
5 months ago
Rahim Kanji b005c2dd8c Add tracking for PostgreSQL search_path parameter
5 months ago
Rahim Kanji d4b2de9e26 Align DateStyle parsing with PostgreSQL
5 months ago
Rahim Kanji 4d91452fc5 Implement backend query cancellation for PostgreSQL #5136
5 months ago
René Cannaò e1b7afe282
Merge pull request #5099 from wazir-ahmed/clock-monotonic-raw
5 months ago
René Cannaò 4639b9705a
Merge pull request #5133 from sysown/v3.0_extended_query_pgsql_query_rules_5132
5 months ago
René Cannaò 9290a5ceec
Merge pull request #5124 from sysown/v3.0_postgres_query_logging_issue_5123
5 months ago
Rahim Kanji 9e9fdc23c2 Modify extended query handling in ProxySQL so that query rules are applied at Parse, Describe, and Execute stages, but hostgroup selection is performed only on the first message in the message pipeline. Ensures that all subsequent messages in the same pipeline use the same backend connection, maintaining consistent routing while applying relevant query rules.
5 months ago
Rahim Kanji 9b0366a89a Improved PostgreSQL Logger
5 months ago
Rahim Kanji a89291c9a9 Added query logging support for PostgreSQL
5 months ago
Rahim Kanji 692109f965 Fixed typo
5 months ago
Rahim Kanji 23a764eaac Preserve implicit transactions with pipeline + FLUSH #5118
5 months ago
Rahim Kanji 205f970ffa Append NoData for DESCRIBE(Portal) on SET/RESET/DISCARD/DEALLOCATE
6 months ago
Rahim Kanji 031d362aab Add STMT prefix to ASYC DESCRIBE status
6 months ago
Rahim Kanji 7d5fe54230 Refactor: unify result handling for Parse and Describe
6 months ago
Rahim Kanji 0391a8d4bb Intercept LISTEN command and return "not supported" #5109
6 months ago
Wazir Ahmed 8d29742e20 `QueryInfo::end_time` should always be greater than or equal to `start_time`
6 months ago
Wazir Ahmed daf1570c5d Replace `CLOCK_MONOTONIC` with `CLOCK_MONOTONIC_RAW`
6 months ago
Rahim Kanji 38841bf189 Remove DESCRIBE statement cache option
6 months ago