Commit Graph

80 Commits (23a764eaac507a700627b301261f08d756ae4e07)

Author SHA1 Message Date
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
Javier Jaramago Fernández 12a5c31884 Fix read-after-free in 'proxy_debug' for 'process_startup_packet'
1 year ago
Javier Jaramago Fernández 100630fba5 Second iteration on PostgreSQL monitoring POC
1 year ago
Rahim Kanji 7fd9a5a2aa Fixed transfer_started for multi-statement
2 years ago
Rahim Kanji 9e7c96b8d1 Improved generate_ok_packet
2 years ago
Rahim Kanji fc67e8e7aa Fixed memory leak in PgSQL_Protocol
2 years ago
Rahim Kanji 654312946b Added Transaction State in OK packet
2 years ago
Rahim Kanji 0ce229e9a1 Fixed crash caused when authenticating monitor user.
2 years ago
Rahim Kanji 1d217455f9
Merge branch 'v3.0' into v3.0_md5_auth_support
2 years ago
Rahim Kanji a520a15537 Added MD5 authentication method
2 years ago
Rahim Kanji 28dac2ad8d To prevent rows sent from being considered as affected rows, we avoid extracting affected rows for SELECT queries (except SELECT INTO).
2 years ago
Rahim Kanji 672e7a5ac5 Fixed num_rows count
2 years ago