Commit Graph

7071 Commits (752c2ee44173fc2f6d283eabf710388d668f6831)

Author SHA1 Message Date
gindibay d573910f2a Fixes the comment 2023-10-09 18:10:28 +03:00
Nils Dijk 76fdfa3c0f
Add devcontainer for development purposes (#7102)
This change adds a devcontainer configuration to the Citus project. This
devcontainer allows for quick generation of isolated development
environments, either local on the machine of a developer or in a cloud,
like github codepaces.

The devcontainer is updated automatically by github actions when its
configuration changes.

For more detailed instructions on how to quickstart the development in a
container see CONTRIBUTING.md
2023-10-09 15:37:21 +02:00
gindibay 3547eeeb6f Adds PG_VERSION_15 constant 2023-10-09 16:05:07 +03:00
gindibay 4b4aae2d4a Fixes compile error 2023-10-09 16:00:18 +03:00
gindibay 69ccf7dd97 Fixes indent 2023-10-09 15:57:34 +03:00
gindibay 45103629dc Fixes compile error for PG 14 2023-10-09 15:56:05 +03:00
gindibay 7022344870 Adds missing types 2023-10-09 15:14:13 +03:00
Nils Dijk 6d8725efb0
Fix leaking of memory and memory contexts in Foreign Constraint Graphs (#7236)
DESCRIPTION: Fix leaking of memory and memory contexts in Foreign
Constraint Graphs

Previously, every time we (re)created the Foreign Constraint
Relationship Graph, we created a new Memory Context while loosing a
reference to the previous context. This old context could still have
left over memory in there causing a memory leak.

With this patch we statically have one memory context that we lazily
initialize the first time we create our foreign constraint relationship
graph. On every subsequent creation, beside destroying our previous
hashmap we also reset our memory context to remove any left over
references.
2023-10-09 13:05:51 +02:00
gindibay b99674dcf9 Removes T_Boolean since it breaks pg14 compile 2023-10-09 13:46:54 +03:00
gindibay 2b04873159 Fixes indentation 2023-10-09 13:28:23 +03:00
gindibay 6846b7fbc7 Refactors the code to make more managable 2023-10-09 13:27:12 +03:00
Onur Tirtir 858d99be33
Take improvement_threshold into the account in citus_add_rebalance_strategy() (#7247)
DESCRIPTION: Makes sure to take improvement_threshold into the account
in `citus_add_rebalance_strategy()`.

Fixes https://github.com/citusdata/citus/issues/7188.
2023-10-09 13:13:08 +03:00
gindibay 93ccbf74d8 Fixes pg15 output 2023-10-06 19:14:21 +03:00
gindibay 8d59e891f0 Fixes icu locale 2023-10-06 18:58:52 +03:00
gindibay c4f8acb0d9 Updates test results 2023-10-06 18:33:10 +03:00
gindibay 35c04c5d48 Fixes collate and ctype 2023-10-06 18:14:00 +03:00
gindibay 92c1b2bc2c Removes iculocale 2023-10-06 18:02:43 +03:00
gindibay 48359e5b3b Fixes Locale 2023-10-06 17:50:10 +03:00
gindibay a19b8216a2 Fixes locale 2023-10-06 17:03:57 +03:00
gindibay d218c31893 Fixes UTF error 2023-10-06 17:01:27 +03:00
gindibay 8251a22bee Fixes pg15 tests 2023-10-06 16:41:07 +03:00
gindibay fc67b6748d Fixes encodings for pg16 2023-10-06 16:10:47 +03:00
gindibay 2162c89efd Revert "Removes pg15 changes to test unusal failures"
This reverts commit 85963e9cb5.
2023-10-06 15:47:42 +03:00
gindibay 791fe0db48 Adds tablespace to test tablespace statement 2023-10-06 15:45:05 +03:00
gindibay 4dff8f3c67 Fixes tests 2023-10-06 15:24:23 +03:00
gindibay 6d429521b6 Fixes indentation 2023-10-06 15:22:15 +03:00
gindibay 8ded5bc256 Fixes pg_dist_object delete problem 2023-10-06 15:18:16 +03:00
Önder Kalacı 7d6c401dd3
Update technical readme (#7248)
Fix a wrong query, reported by @naisila
2023-10-06 13:37:37 +03:00
gindibay 8f08074720 Adds OID to see the error cause 2023-10-05 22:30:06 +03:00
gindibay 76f1d242c9 Changes test order 2023-10-05 22:14:12 +03:00
gindibay eaf26ee601 Changes schedule location 2023-10-05 21:48:28 +03:00
gindibay e75c820ccb Rollbacks last test 2023-10-05 21:34:14 +03:00
gindibay 0c1de3484e Rollbacks pg_regress_multi 2023-10-05 20:49:19 +03:00
gindibay fd9a8f3192 Fixes pg15 file 2023-10-05 20:36:47 +03:00
gindibay 1ab31646d8 Tests error cause 2023-10-05 20:35:22 +03:00
gindibay 85963e9cb5 Removes pg15 changes to test unusal failures 2023-10-05 19:44:57 +03:00
gindibay 04c46b4099 Fixes tablespace results 2023-10-05 17:51:01 +03:00
gindibay 7ccd8c8390 Fixes tablespace error 2023-10-05 17:48:36 +03:00
gindibay 8bce0386d7 Removes unnecessary fileds from selects 2023-10-05 17:27:07 +03:00
gindibay 0b562db7df Fixes tests 2023-10-05 17:11:07 +03:00
gindibay e46c9cff9b Changes encoding 2023-10-04 23:11:48 +03:00
gindibay 236ea1d1b9 Adds tests for create and drop database 2023-10-04 21:20:19 +03:00
gindibay a708a7810d Fixes affected tests 2023-10-04 15:33:14 +03:00
gindibay f25b173ad5 Changes EnableCreateDatabasePropagation to false
to fix failing tests
2023-10-04 15:06:22 +03:00
gindibay 1b8c400821 Fixes sql comments 2023-10-04 13:40:37 +03:00
gindibay 90ead5dd19 Fixes indentation 2023-10-04 13:32:39 +03:00
gindibay c1aca5ef89 Removes unnecessary code 2023-10-04 13:23:28 +03:00
gindibay 90547e6cd5 Removes unnecessary files 2023-10-04 13:23:28 +03:00
gindibay 84826dcc98 Fixes runtime and compile errors 2023-10-04 13:23:28 +03:00
gindibay 8435509347 Fix for Pg16 compile error 2023-10-04 13:23:28 +03:00