Commit Graph

74 Commits (3.0.3)

Author SHA1 Message Date
Rahim Kanji 249b3d8725 * Replace C-style array with std::array in PgSQL_Connection
7 months ago
Rahim Kanji 50243ef283 Corrected RESET/DEFAULT logic
7 months ago
Rahim Kanji 1bcd09044b Refactor Connection Reset Handling
7 months ago
Rahim Kanji d5451970dc Added comments
9 months ago
Rahim Kanji 7c46f6c48c Improved parser
10 months ago
Rahim Kanji 700e8c21ae Switched PQ error verbosity to formatted mode.
10 months ago
Rahim Kanji d90bf4ac73 Optimized savepoint detection
10 months ago
Rahim Kanji 4969bd8301 PQconnectPoll can file descriptor (FD) during the connection process. We need to check whether FD has changed and, if so, update it in the thread's poll array.
10 months ago
Rahim Kanji db442ba8cf Treat client_encoding as normal server parameter/variable.
11 months ago
Rahim Kanji b368b281ee Added pg_advisory_xact_lock* detection
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 ac64bd5d21 Removed leftover MySQL prepared statement code
1 year ago
Rahim Kanji a22936164b Removed psql from PgSQL_Connection_Placeholder
1 year ago
Rahim Kanji 0e83dd9896 Moved more data members and methods to PgSQL_Connection class
1 year ago
Rahim Kanji bcc20f8214 Moved few members and methods to PgSQL_Connection
1 year ago
Rahim Kanji f6fb8bbf2e Moved connected_host_details struct to PgSQL_Connection
1 year ago
Rahim Kanji 1bb8d55fc6 Moved PgSQL_Variable and related methods from
1 year ago
Rahim Kanji 99d9708eeb Removed dead code
1 year ago
Rahim Kanji 3dcc015d28 Code cleanup
1 year ago
Rahim Kanji 7e9d6d1ed1 Code cleanup
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 31ed94e82e * Added async_send_simple_command: This method is introduced to execute
1 year ago
Rahim Kanji abbe02d99f Implemented logic to store results with notices in the Query Cache
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 ba8dc5f69f Removed the assertion. Instead, disconnect the client session and backend if COPY FROM STDIN bypasses the initial checks and lands here
1 year ago
Rahim Kanji c4a8b0ec9b Added FAST FORWARD support for PostgreSQL
1 year ago
Rahim Kanji 6d614a4b99 Merge branch 'v3.0'
1 year ago
Rahim Kanji 3b5671267f Implemented overflow-safe multiplication for mysql_thread___threshold_resultset_size and pgsql_thread___threshold_resultset_size
1 year ago
Rahim Kanji 616a8e0e23 Implemented handling of COPY OUT
1 year ago
Rahim Kanji 3102d97591 Cleanup
1 year ago
Rahim Kanji 851a573f30 If query results needs to be cached, the pgsql_thread___query_cache_size_MB setting takes precedence over pgsql_thread___threshold_resultset_size
1 year ago
Rahim Kanji c7f7705cde Code cleanup
1 year ago
Rahim Kanji 720441af20 Refactored and Optimized Query Cache with PgSQL Support
1 year ago
Rahim Kanji 391e4867fe Add support for escaping single quotes and backslashes in connection
1 year ago
Rahim Kanji 5f218441a3 Return an error if feature is not supported, instead of crashing (assert)
1 year ago
René Cannaò d4bd93672e
Merge pull request #79 from sysown/v2.x_refactore_query_processor
1 year ago
Rahim Kanji e723082a1b Refactored Query Processor Architecture
1 year ago
René Cannaò 115eef2ea3 Some code cleanup
1 year ago
Rahim Kanji 380651128a Merge remote-tracking branch 'Master_POSTGRES/v2.x_proxysql_internal_session' into v2.x_stats_table
2 years ago
Rahim Kanji 9cfe5b1761 Added stats_pgsql_connection_pool & stats_pgsql_connection_pool_reset tables
2 years ago
Rahim Kanji c35a6a24cf Added stats_pgsql_global table
2 years ago
Rahim Kanji e31dd5661f Moved few methods from PgSQL_Connection.h to PgSQL_Connection.cpp
2 years ago
Rahim Kanji f9ed50650f Updated set_dbname implementation for PostgreSQL
2 years ago
Rahim Kanji 5039c93e28 Code Cleanup
2 years ago
Rahim Kanji 991031c938 Increased resultset buffer size to exact 16K
2 years ago
Rahim Kanji 5c4a3ed2aa Merge remote-tracking branch 'remotes/Master_POSTGRES/v2.x_postgres' into v2.x_postgres_reset_connection
2 years ago
Rahim Kanji 03c08d2e1f Introduced a new function in libpq, PShandleRowData, to handle incoming
2 years ago