Commit Graph

58 Commits (c2f2ae5aa4c85e6a72daa3700f7bc72724beda2e)

Author SHA1 Message Date
Rahim Kanji c2f2ae5aa4 * Updated code to use pgsql_tracked_variables[idx] consistently, removing
11 months ago
Rahim Kanji b8ffb7d56e Fixed connection parameter validation
11 months ago
Rahim Kanji db442ba8cf Treat client_encoding as normal server parameter/variable.
11 months ago
Rahim Kanji fbb9500cb9 Refactored connection parameters
11 months ago
Rahim Kanji a5b7063cf3 Add validation for PostgreSQL patameters/variables and default PostgreSQL variables
12 months 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
1 year ago
Rahim Kanji 9e7c96b8d1 Improved generate_ok_packet
1 year ago
Rahim Kanji fc67e8e7aa Fixed memory leak in PgSQL_Protocol
1 year ago
Rahim Kanji 654312946b Added Transaction State in OK packet
1 year ago
Rahim Kanji 0ce229e9a1 Fixed crash caused when authenticating monitor user.
1 year ago
Rahim Kanji 1d217455f9
Merge branch 'v3.0' into v3.0_md5_auth_support
1 year ago
Rahim Kanji a520a15537 Added MD5 authentication method
1 year 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).
1 year ago
Rahim Kanji 672e7a5ac5 Fixed num_rows count
1 year ago
Rahim Kanji 2525f6df18 Added transaction status in write_ReadyForQuery
2 years ago
René Cannaò 757b6a4630
Merge pull request #65 from sysown/v2.x_proxysql_internal_session
2 years 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 fad8692e89 Merge remote-tracking branch 'Master_POSTGRES/v2.x_postgres' into v2.x_remove_unused_columns
2 years ago
Rahim Kanji 2730a41a38 Remove 'gtid_port' column from pgsql_servers table
2 years ago
Rahim Kanji 3c870e5c05 Removed unused columns + Bug fixes
2 years ago
Rahim Kanji f9ed50650f Updated set_dbname implementation for PostgreSQL
2 years ago
Rahim Kanji 991031c938 Increased resultset buffer size to exact 16K
2 years ago
Rahim Kanji 03c08d2e1f Introduced a new function in libpq, PShandleRowData, to handle incoming
2 years ago
Rahim Kanji c51a746f96 If a result returned by a backend server is bigger than 'pgsql-threshold_resultset_size', ProxySQL will start sending the result to the PgSQL client that was requesting the result in order to limit its memory footprint.
2 years ago
Rahim Kanji db3fe26590 PgSQL_Thread will now reset connections independently, eliminating the
2 years ago
Rahim Kanji d01e883638 Renamed 'schemaname' to 'dbname' in PgSQL_Connection_userinfo
2 years ago
Rahim Kanji b01792cae9 Added multi-statement support
2 years ago
Rahim Kanji 4244e32ed0 Added pgsql-default_client_encoding incase client doesn't provide one
2 years ago
Rahim Kanji bad52bf137 Reordered Parameter Status
2 years ago
Rahim Kanji c8ce94c85b Merge remote-tracking branch 'Master_POSTGRES/v2.x_postgres' into v2.x_postgres_backend
2 years ago
Rahim Kanji 27e1e4fb7a Many improvements and bug fixes
2 years ago
Miro Stauder b7258e965f use local includes - openssl
2 years ago
Rahim Kanji 65fc633cf5 Generic error handling, transaction detection and handling, bug fixes
2 years ago
Rahim Kanji d3f20af5b1 Removed assert
2 years ago
Rahim Kanji 349d992e69 Handle field with NULL value
2 years ago
Rahim Kanji ef61c367a3 Added support for handling commands and errors
2 years ago