Commit Graph

156 Commits (a89291c9a91d39ba3ebb489ee5076155fdb56eaf)

Author SHA1 Message Date
Rahim Kanji a89291c9a9 Added query logging support for PostgreSQL
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
Rahim Kanji 38841bf189 Remove DESCRIBE statement cache option
6 months ago
Rahim Kanji 9a5fa148c8 Inject implicit Sync if simple query arrives before extended query cycle is completed
6 months ago
Rahim Kanji be2ae45950 Merge branch 'v3.0' into 'v3.0_extended_query_protocol_phase_2'
6 months ago
Rahim Kanji abd19113c0 Fix RequestEnd: avoid updating internal state when query failed on backend
6 months ago
Rahim Kanji 96c989a854 * Replaced virtual RequestEnd method with CRTP (static polymorphism)
6 months ago
Rahim Kanji 515cf12ded Reject COPY FROM STDIN in extended query mode
6 months ago
Rahim Kanji 7a1852fb92 Skip Describe Portal results unless client explicitly requests it
6 months ago
Rahim Kanji 3dd401f81a Queue client packets during active query execution
6 months ago
René Cannaò b5fa8ca1ae
Merge pull request #5044 from sysown/v3.0_extended_query_protocol
6 months ago
Rahim Kanji 9e4b76d6d1 * Refactored PgSQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___PGSQL_QUERY_qpo.
6 months ago
Rahim Kanji 0bb5747291 Add Query Rewrite support for Extended Query Protocol
6 months ago
Rahim Kanji 2d569f3b95 Added support to terminate running queries on timeout
6 months ago
Rahim Kanji 58eac30ff3 Fixed SSL STATUS in PgSQL_Data_Stream
7 months ago
Rahim Kanji f715c546fa Added prepared statement map and connection status fields to PROXYSQL INTERNAL SESSION output
7 months ago
Rahim Kanji 27f1fed446 Handled DISCARD ALL, DISCARD PLANS, send rest of the varients to backend
7 months ago
Rahim Kanji a29eaf1eb2 Moved warning_in_hg from Base_Session to MySQL_Session
7 months ago
Rahim Kanji 8021121cfa Fixed PgSQL_Session::handler___status_NONE_or_default
7 months ago
Rahim Kanji 4d195adc89 Renamed Multiplex status from MYSQL to PGSQL
7 months ago
René Cannaò 471ddfc7aa
Merge pull request #5060 from sysown/v3.0_session_param_reset_connection
7 months ago
Rahim Kanji 070d4ca18d Added DEALLOCATE <stmt_name> and DEALLOCATE ALL support
7 months ago
Rahim Kanji 02eb58db79 Added SET statement tracking support
7 months ago
Rahim Kanji ce94a7080a Merge branch v3.0_session_param_reset_connection into v3.0_extended_query_protocol
7 months ago
Rahim Kanji 50243ef283 Corrected RESET/DEFAULT logic
7 months ago
Rahim Kanji 1bcd09044b Refactor Connection Reset Handling
7 months ago
Rahim Kanji 7c71fe1a05 Prevent overwrite of named statements
7 months ago
Rahim Kanji 0de642559d Avoid crash when mirroring is set for PostgreSQL: show warning instead
7 months ago
Rahim Kanji 4ebff4c0cc Added support for protocol-supplied (out-of-band) parameter typing (argument-based)
7 months ago
Rahim Kanji a8a2799187 Improved locks
7 months ago
Rahim Kanji 703a5f35f5 Added stats_pgsql_prepared_statements_info table
7 months ago
Rahim Kanji 06383750b3 Fixed SonarQube warnings where applicable
7 months ago
Rahim Kanji bc87d0d901 * For a Describe Portal message, peek at the next message in the extended query frame. If it is an Execute message, indicating that client is sending a Bind/Describe/Execute sequence
7 months ago
Rahim Kanji 87ad15b01c * Removed autocommit_on_hostgroup from PostgreSQL modules
7 months ago
Rahim Kanji 48ba491cb7 Add support for unnamed Describe Portal and improve extended query handling
8 months ago
Rahim Kanji 7cde1dcad6 Added comments
8 months ago
Rahim Kanji d3592020ac * Created a separate file for Extended Query messages to reduce clutter in PgSQL_Protocol.
8 months ago
Rahim Kanji 3cff4f9dca * Added sticky backend support for extended query frames: all messages in a single frame will now use the same backend connection.
8 months ago
Rahim Kanji d5fc1fefff Renamed pending_query to extended_query_frame
8 months ago
Rahim Kanji f350102f72 Code cleanup
8 months ago
Rahim Kanji 8bb248cef5 Added Bind and Execute support
8 months ago
Rahim Kanji 4d0618c296 Added Close statement handling
8 months ago
Rahim Kanji a741598a8d Added Describe message handling
8 months ago
Rahim Kanji 97b3bb16e3 Fixed RequestEnd
8 months ago
Rahim Kanji 24fecc1f6e Add PostgreSQL extended query (prepared statement) support in ProxySQL
8 months ago
Rahim Kanji 026f458f7c Removed last_insert_id from PostgreSQL modules
9 months ago
Rahim Kanji c71aa550df Added names (alias of client_encoding)
10 months ago