Commit Graph

91 Commits (9f30d85e10c5db24c041cb50584fdb856479e26e)

Author SHA1 Message Date
Rahim Kanji 9c0e14a5d1 Replace rand() with lock-free Xoshiro128++ PRNG
4 months ago
Rahim Kanji 1a48aadf5e Code cleanup
4 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.
5 months ago
Rahim Kanji e744c2bbb7 Optimize transaction command parsing to avoid unnecessary tokenization
5 months ago
René Cannaò 413b0121a1
Merge pull request #5146 from sysown/v3.0_parameter_status_case_sensitive_issue_5145
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 9cb605f4fb Replaced rand() with random()
6 months ago
Rahim Kanji 3a46324d5d Fixed Debug logs
6 months ago
Rahim Kanji 4d91452fc5 Implement backend query cancellation for PostgreSQL #5136
6 months ago
Rahim Kanji 692109f965 Fixed typo
7 months ago
Rahim Kanji 205f970ffa Append NoData for DESCRIBE(Portal) on SET/RESET/DISCARD/DEALLOCATE
7 months ago
Rahim Kanji 7d5fe54230 Refactor: unify result handling for Parse and Describe
7 months ago
Rahim Kanji 31503d42e3 Merge remote-tracking branch 'Master/v3.0_issue_5100' into v3.0_extended_query_protocol_phase_2
7 months ago
Rahim Kanji 43e5b55c1c Added integer_datetimes in ProxySQL startup parameters status, hardcoded to on.
7 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 4d3dc7b7e3 Fixed DISCARD ALL tag
8 months ago
Rahim Kanji 070d4ca18d Added DEALLOCATE <stmt_name> and DEALLOCATE ALL support
8 months ago
Rahim Kanji ce94a7080a Merge branch v3.0_session_param_reset_connection into v3.0_extended_query_protocol
8 months ago
Rahim Kanji 1bcd09044b Refactor Connection Reset Handling
8 months ago
Rahim Kanji 5e30bef674 Few fixes
9 months ago
Rahim Kanji 703a5f35f5 Added stats_pgsql_prepared_statements_info table
9 months ago
Rahim Kanji 06383750b3 Fixed SonarQube warnings where applicable
9 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
9 months ago
Rahim Kanji 48ba491cb7 Add support for unnamed Describe Portal and improve extended query handling
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
9 months ago
Rahim Kanji 4d0618c296 Added Close statement handling
9 months ago
Rahim Kanji a741598a8d Added Describe message handling
10 months ago
Rahim Kanji 24fecc1f6e Add PostgreSQL extended query (prepared statement) support in ProxySQL
10 months ago
Rahim Kanji 190e369658 Added Transaction State flag in SQLite3_to_Postgres
11 months ago
Rahim Kanji c2f2ae5aa4 * Updated code to use pgsql_tracked_variables[idx] consistently, removing
1 year ago
Rahim Kanji b8ffb7d56e Fixed connection parameter validation
1 year ago
Rahim Kanji db442ba8cf Treat client_encoding as normal server parameter/variable.
1 year ago
Rahim Kanji fbb9500cb9 Refactored connection parameters
1 year ago
Rahim Kanji a5b7063cf3 Add validation for PostgreSQL patameters/variables and default PostgreSQL variables
1 year ago
Rahim Kanji e6ddae643b Now, default variables are set for all tracked variables
1 year ago
Rahim Kanji d2c333dcfd Special handling of PostgreSQL DateStyle in ProxySQL
1 year ago
Rahim Kanji 0e1392322f RESET oaramter and DEFAULT parameter value handling (not fully tested yet)
1 year ago
Rahim Kanji c7960f836b Added Parameter Status
1 year ago
Rahim Kanji 06e496b7c3 Added tracking of parameters:
1 year ago
Rahim Kanji f0316c7d50 Since notices can reorder packets, it is important to account for this when calculating the result set size
1 year ago
Rahim Kanji f16f553995 Added PostgreSQL notice handler
1 year ago
Rahim Kanji 395a977e68 Merge branch 'v3.0'
1 year ago
Rahim Kanji 551aeed43e Improved COPY OUT format extraction
1 year ago
Rahim Kanji 967386d7d3 Added the SESSION_FORWARD_TYPE enum to define the type of session forwarding
1 year ago
Rahim Kanji 6d614a4b99 Merge branch 'v3.0'
1 year ago
Rahim Kanji 616a8e0e23 Implemented handling of COPY OUT
1 year ago