Commit Graph

106 Commits (ff50bb4ec1ef89ab7b7beb5d789739bb90c6b277)

Author SHA1 Message Date
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 c6138656b6 Fixed multiplex disabled due to CREATE SEQUENCE
6 months ago
Rahim Kanji 1b47a1d9ea Fixed Describe Portal returning NoData
6 months ago
Rahim Kanji 9a5fa148c8 Inject implicit Sync if simple query arrives before extended query cycle is completed
6 months ago
Rahim Kanji abd19113c0 Fix RequestEnd: avoid updating internal state when query failed on backend
6 months ago
Rahim Kanji 7a1852fb92 Skip Describe Portal results unless client explicitly requests it
6 months ago
Rahim Kanji fff2a91381 Fix omission of ReadyForQuery after error with pending extended-query messages
6 months ago
Rahim Kanji 8a3bab5002 Ensure consistent handling of NoData packets in PQsendQueryPrepared
6 months ago
Rahim Kanji 9e4b76d6d1 * Refactored PgSQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___PGSQL_QUERY_qpo.
6 months ago
Rahim Kanji 2d569f3b95 Added support to terminate running queries on timeout
6 months ago
Rahim Kanji 0ddc6e9b93 * Implemented status tracking for LOCK TABLE and pg_advisory_xact_lock, with automatic reset on transaction end
7 months ago
Rahim Kanji 27f1fed446 Handled DISCARD ALL, DISCARD PLANS, send rest of the varients to backend
7 months ago
Rahim Kanji 4d195adc89 Renamed Multiplex status from MYSQL to PGSQL
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 249b3d8725 * Replace C-style array with std::array in PgSQL_Connection
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 4ebff4c0cc Added support for protocol-supplied (out-of-band) parameter typing (argument-based)
7 months ago
Rahim Kanji 06383750b3 Fixed SonarQube warnings where applicable
7 months ago
Rahim Kanji 8655ff8e0d Cleanup
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 f9448948cd Set end state for fetch result to indicate that it originates from a simple query or statement execution
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 8bb248cef5 Added Bind and Execute support
8 months ago
Rahim Kanji a741598a8d Added Describe message handling
8 months ago
Rahim Kanji 2a9f67295f Removed warning tracking code from PgSQL_Connection
8 months ago
Rahim Kanji ebe6ac9ab1 Add get_transaction_status_char()
8 months ago
Rahim Kanji 0401308140 Few improvements
8 months ago
Rahim Kanji 58c18846c8 Added set_is_client method
8 months ago
Rahim Kanji 24fecc1f6e Add PostgreSQL extended query (prepared statement) support in ProxySQL
8 months ago
Rahim Kanji d5451970dc Added comments
9 months ago
Rahim Kanji 7c46f6c48c Improved parser
9 months ago
Rahim Kanji 700e8c21ae Switched PQ error verbosity to formatted mode.
9 months ago
Rahim Kanji d90bf4ac73 Optimized savepoint detection
10 months ago
Rahim Kanji 4969bd8301 PQconnectPoll can file descriptor (FD) during the connection process. We need to check whether FD has changed and, if so, update it in the thread's poll array.
10 months ago
Rahim Kanji db442ba8cf Treat client_encoding as normal server parameter/variable.
11 months ago
Rahim Kanji b368b281ee Added pg_advisory_xact_lock* detection
1 year ago
Rahim Kanji 40be1158c2 Finally removed PgSQL_Connection_Placeholder class
1 year ago
Rahim Kanji 570e62b618 Removed MySQL Prepare Statement residual code
1 year ago
Rahim Kanji ac64bd5d21 Removed leftover MySQL prepared statement code
1 year ago
Rahim Kanji a22936164b Removed psql from PgSQL_Connection_Placeholder
1 year ago
Rahim Kanji 0e83dd9896 Moved more data members and methods to PgSQL_Connection class
1 year ago
Rahim Kanji bcc20f8214 Moved few members and methods to PgSQL_Connection
1 year ago
Rahim Kanji f6fb8bbf2e Moved connected_host_details struct to PgSQL_Connection
1 year ago
Rahim Kanji 1bb8d55fc6 Moved PgSQL_Variable and related methods from
1 year ago