Commit Graph

105 Commits (7df23de546242514ba623060a9d27287c59bbb05)

Author SHA1 Message Date
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
10 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
Rene Cannao cbc50d4494 More template for Session
2 years ago
Rene Cannao 43a2c526e6 Remove dead code
2 years ago
Rene Cannao 982ad5be0c Template of Session::update_expired_conns()
2 years ago
Rene Cannao f7e923bfe6 Template for housekeeping_before_pkts()
2 years ago
Rene Cannao 48eff16cdc Template for handler_special_queries_STATUS()
2 years ago
Rene Cannao 80928395cc Template for reset_all_backends()
2 years ago
Rene Cannao 7563659198 Template for has_any_backend()
2 years ago
Rene Cannao 14c0ee023b Disable autocommit from PgSQL_Session()
2 years ago
Rene Cannao 63573e3ca3 Removed handler_SetAutocommit from PgSQL_Session()
2 years ago
Rene Cannao 66b7c103af Moving return_proxysql_internal() to Base_Session
2 years ago
Rene Cannao 649c985384 Using template for writeout()
2 years ago
Rene Cannao ae1e088d82 Initial work to write Base_Session
2 years ago
Rahim Kanji 27e1e4fb7a Many improvements and bug fixes
2 years ago
Rahim Kanji 65fc633cf5 Generic error handling, transaction detection and handling, bug fixes
2 years ago
Rahim Kanji ef61c367a3 Added support for handling commands and errors
2 years ago
Rahim Kanji a2516654cf Added PgSQL Thread variables.
2 years ago
Rahim Kanji 06a32365cc Merge remote-tracking branch 'Master_POSTGRES/v2.x_postgres' into v2.x_postgres_backend
2 years ago
Rahim Kanji dcbe140199 Route query to PostgreSQL backend server
2 years ago
René Cannaò fde8ace076 Removed json.hpp from include files
2 years ago
René Cannaò c9326564c0 Minor changes to try to optimize compiling
2 years ago
René Cannaò 0cfab2616f First attempt to use Base_Thread and Base_Session
2 years ago
Rahim Kanji ebf20b6a60 * Added PostgreSQL configuration (port: 6034 Admin and 6035: PostgreSQL client connections)
2 years ago
Rahim Kanji e029d39007 Initial PostgreSQL commit
2 years ago