Commit Graph

73 Commits (71e8a2e8d5a71ff052b6ef3d9c1731401d422cc7)

Author SHA1 Message Date
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 96c989a854 * Replaced virtual RequestEnd method with CRTP (static polymorphism)
8 months ago
Rahim Kanji 7a1852fb92 Skip Describe Portal results unless client explicitly requests it
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 4d195adc89 Renamed Multiplex status from MYSQL to PGSQL
9 months ago
Rahim Kanji 070d4ca18d Added DEALLOCATE <stmt_name> and DEALLOCATE ALL support
9 months ago
Rahim Kanji 02eb58db79 Added SET statement tracking support
9 months ago
Rahim Kanji ce94a7080a Merge branch v3.0_session_param_reset_connection into v3.0_extended_query_protocol
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 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
10 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.
10 months ago
Rahim Kanji d5fc1fefff Renamed pending_query to extended_query_frame
10 months ago
Rahim Kanji 8bb248cef5 Added Bind and Execute support
10 months ago
Rahim Kanji 4d0618c296 Added Close statement handling
10 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 026f458f7c Removed last_insert_id from PostgreSQL modules
11 months ago
Rahim Kanji 979b3a81f4 Added PgSQL_ExplicitTxnStateMgr in session
12 months ago
René Cannaò 6df3d6b84b
Merge pull request #4899 from sysown/v3.0_refactor_connection_info_param
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
René Cannaò 2551d350e9 Port to 3.0 of in-memory query logging
1 year ago
Rahim Kanji a5b7063cf3 Add validation for PostgreSQL patameters/variables and default PostgreSQL variables
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 a22936164b Removed psql from PgSQL_Connection_Placeholder
1 year ago
Rahim Kanji bcc20f8214 Moved few members and methods to PgSQL_Connection
1 year ago
Rahim Kanji 87838bec14 Refactored get_default_session_variable
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 06e496b7c3 Added tracking of parameters:
1 year ago
Rahim Kanji f33fd02c37 Add COPY ... FROM STDIN detection regex
1 year ago
Rahim Kanji b906c08992 Added dynamic fast forward support
1 year ago
Rahim Kanji e64a4349d4 Few fixes
1 year ago
Rahim Kanji 79c7f13768 Clean up
1 year ago
René Cannaò d4bd93672e
Merge pull request #79 from sysown/v2.x_refactore_query_processor
2 years ago
Rahim Kanji e723082a1b Refactored Query Processor Architecture
2 years ago
René Cannaò b64b087aab Some code cleanup
2 years ago
René Cannaò 115eef2ea3 Some code cleanup
2 years ago
Javier Jaramago Fernández 25c6cf9dff Fix 'nlohmann::json' type forwarding
2 years ago
Rahim Kanji 745449fcbc Removed Client_Session.h and Client_Session.cpp
2 years ago
Rahim Kanji 5bf827d8e4 Removed type selector
2 years ago
Rahim Kanji fb0d8c0b69 Merge remote-tracking branch 'remotes/Master_POSTGRES/v2.x_postgres' into v2.x_postgres_backend
2 years ago
Rahim Kanji 880d654011 Changing database on the same connection is not supported in PostgreSQL. If a connection with a different database is needed, a new connection will be created; otherwise, a connection with the same database (and username) will be selected from the connection pool.
2 years ago
Rahim Kanji 058be0d9ae * Reset the connection if there is a mismatch between client and server
2 years ago