Commit Graph

124 Commits (f88dddaefb4e9067f5e1562e78e7e1ad1e6b7e00)

Author SHA1 Message Date
Rahim Kanji 1f0756b59f Correct bytes_sent tracking for extended query protocol
2 months ago
Rahim Kanji db5f1ea498 Track query count for extended query protocol executions
2 months ago
Rahim Kanji 5a7e7b30e7 Fix extended query Bind handling when a single parameter format is provided
3 months ago
Rahim Kanji c0f99c0e15 Refactor: Improved Prepared-Statement Cache Design (Lock-Free Hot Path) #5211
5 months ago
Rahim Kanji 9fa3d75fb3 Backport PQsendPipelineSync from PostgreSQL 17 and update code to use it
6 months ago
René Cannaò abafaccbc0
Merge pull request #5156 from sysown/v3.0_pgsql_stat_activity_issue_4682
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ò 2c9cea0014
Merge pull request #5143 from sysown/v3.0_fix-describe-portal-nodata-empty-query
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 81d4c3ad74 Added get_pg_backend_state
6 months ago
Rahim Kanji dc6db358f4 Few fixes
6 months ago
Rahim Kanji 03b63f6857 Fix ParameterStatus capitalization for DateStyle, TimeZone, and IntervalStyle
6 months ago
Rahim Kanji 67842ff03c Send NoData in response to Describe (Portal) before Execute (empty
7 months ago
Rahim Kanji 8060f98c28 Improve Parser
7 months ago
Rahim Kanji 84389b71b9 refactor(conninfo): add append_conninfo_param helper
7 months ago
Rahim Kanji 4d91452fc5 Implement backend query cancellation for PostgreSQL #5136
7 months ago
Rahim Kanji 692109f965 Fixed typo
7 months ago
Rahim Kanji 23a764eaac Preserve implicit transactions with pipeline + FLUSH #5118
7 months ago
Rahim Kanji 205f970ffa Append NoData for DESCRIBE(Portal) on SET/RESET/DISCARD/DEALLOCATE
7 months ago
Rahim Kanji 031d362aab Add STMT prefix to ASYC DESCRIBE status
7 months ago
Rahim Kanji 7d5fe54230 Refactor: unify result handling for Parse and Describe
7 months ago
Rahim Kanji c6138656b6 Fixed multiplex disabled due to CREATE SEQUENCE
7 months ago
Rahim Kanji 1b47a1d9ea Fixed Describe Portal returning NoData
8 months ago
Rahim Kanji 9a5fa148c8 Inject implicit Sync if simple query arrives before extended query cycle is completed
8 months ago
Rahim Kanji abd19113c0 Fix RequestEnd: avoid updating internal state when query failed on backend
8 months ago
Rahim Kanji 7a1852fb92 Skip Describe Portal results unless client explicitly requests it
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 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 0ddc6e9b93 * Implemented status tracking for LOCK TABLE and pg_advisory_xact_lock, with automatic reset on transaction end
8 months ago
Rahim Kanji 27f1fed446 Handled DISCARD ALL, DISCARD PLANS, send rest of the varients to backend
8 months ago
Rahim Kanji 4d195adc89 Renamed Multiplex status from MYSQL to PGSQL
8 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 4ebff4c0cc Added support for protocol-supplied (out-of-band) parameter typing (argument-based)
9 months ago
Rahim Kanji 06383750b3 Fixed SonarQube warnings where applicable
9 months ago
Rahim Kanji 8655ff8e0d Cleanup
9 months ago
Rahim Kanji 87ad15b01c * Removed autocommit_on_hostgroup from PostgreSQL modules
9 months ago
Rahim Kanji 48ba491cb7 Add support for unnamed Describe Portal and improve extended query handling
9 months ago
Rahim Kanji 7cde1dcad6 Added comments
9 months ago
Rahim Kanji f9448948cd Set end state for fetch result to indicate that it originates from a simple query or statement execution
9 months ago
Rahim Kanji d3592020ac * Created a separate file for Extended Query messages to reduce clutter in PgSQL_Protocol.
9 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.
9 months ago
Rahim Kanji 8bb248cef5 Added Bind and Execute support
10 months ago
Rahim Kanji a741598a8d Added Describe message handling
10 months ago
Rahim Kanji 2a9f67295f Removed warning tracking code from PgSQL_Connection
10 months ago
Rahim Kanji ebe6ac9ab1 Add get_transaction_status_char()
10 months ago