Hanefi Onaldi
3ec1fc48fc
Add changelog entries for 11.0.1_beta
2022-04-11 14:06:25 +03:00
Burak Velioglu
31df111ecb
Merge pull request #5893 from citusdata/velioglu/fix_function_in_tx
...
Create function in transaction according to create object propagation guc
2022-04-08 17:51:41 +03:00
Burak Velioglu
5d9599f964
Create function in transaction according to create object propagation guc
2022-04-08 17:15:31 +03:00
Nils Dijk
31493288de
Merge pull request #5764 from citusdata/feature/domain-type
...
Feature: propagate DOMAIN objects
2022-04-08 16:14:18 +02:00
Nils Dijk
8897361f95
Implement DOMAIN propagation for citus
2022-04-08 15:25:39 +02:00
Jelte Fennema
6d8c5931d6
Work around flaky test related to search_path ( #5894 )
...
For some reason search_path is not always set correctly on the worker
when calling a distributed function, this shows up when calling
`insert_document` in our distributed_triggers test. The underlying
reason is currently unknown and warrants deeper investigation.
Currently this test is one of the main causes for random CI failures. So
this change sets the search_path of each function explicitly, to reduce
these failures. So other devs can be more efficient, while I continue
investigating the root cause of this issue.
Also changes explicit `SET citus.enable_unsafe_triggers = false` to
`RESET citus.enable_unsafe_triggers` in passing.
2022-04-08 16:09:33 +03:00
Önder Kalacı
78d8561b59
Merge pull request #5880 from citusdata/rename_metadata_func
...
Rename metadata sync to node metadata sync where applicable
2022-04-07 21:53:55 +02:00
Onder Kalaci
b0b91bab04
Rename metadata sync to node metadata sync where applicable
2022-04-07 17:51:31 +02:00
Marco Slot
54f97c7b2b
Merge pull request #5879 from citusdata/marcocitus/fix-unique-index
2022-04-07 16:28:04 +02:00
Marco Slot
2304815356
Allow adding a unique constraint with an index
2022-04-07 16:00:31 +02:00
Marco Slot
67fdecfcb0
Merge pull request #5882 from citusdata/marcocitus/fix-explain
2022-04-07 15:59:44 +02:00
Marco Slot
c0827703ec
Fix EXPLAIN ANALYZE JSON format for subplans
2022-04-07 11:38:20 +02:00
Marco Slot
f9bbcb8840
Merge pull request #5883 from citusdata/marcocitus/fix-explain-parameters
2022-04-07 11:36:47 +02:00
Marco Slot
544dce919a
Handle user-defined type parameters in EXPLAIN ANALYZE
2022-04-07 11:14:32 +02:00
Hanefi Onaldi
b092a1a496
Use consistent naming for tap test workflows in CI config ( #5874 )
...
All the job names in our CI config are of the form `test-1[34]_.*` except for tap-recovery tests.
2022-04-05 05:53:55 +02:00
Marco Slot
b69713937d
Merge pull request #5878 from citusdata/marcocitus/remove-old-repartitioning
2022-04-04 20:18:38 +02:00
Marco Slot
9476f377b5
Remove old re-partitioning functions
2022-04-04 18:11:52 +02:00
Marco Slot
b511e28e80
Merge pull request #5875 from citusdata/marcocitus/tablesample
2022-04-01 16:47:03 +02:00
Marco Slot
8c8c3b665d
Add TABLESAMPLE support
2022-04-01 15:51:40 +02:00
Ahmet Gedemenli
5374c771a9
Merge pull request #5872 from citusdata/schema-tests-arbitrary
...
Add schema tests to arbitrary configs
2022-04-01 16:17:13 +03:00
Ahmet Gedemenli
a62de6494d
Add schema tests to arbitrary configs
2022-04-01 13:57:17 +03:00
jeff-davis
c485a04139
Separate build of citus.so and citus_columnar.so. ( #5805 )
...
* Separate build of citus.so and citus_columnar.so.
Because columnar code is statically-linked to both modules, it doesn't
make sense to load them both at once.
A subsequent commit will make the modules entirely separate and allow
loading them both simultaneously.
Author: Yanwen Jin
* Separate citus and citus_columnar modules.
Now the modules are independent. Columnar can be loaded by itself, or
along with citus.
Co-authored-by: Jeff Davis <jefdavi@microsoft.com>
2022-03-31 19:47:17 -07:00
Gledis Zeneli
c9aab7fb8b
Add TRUNCATE arbitrary config tests ( #5848 )
...
Adds TRUNCATE arbitrary config tests.
Also adds the ability to skip tests from particular configs.
2022-03-31 14:14:47 +03:00
Önder Kalacı
a0a2e80c78
Merge pull request #5869 from citusdata/do_not_hide_shards_from_pg
...
Only hide shards from client backends or non-pg background workers
2022-03-30 17:43:22 +02:00
Onder Kalaci
9043a1ed3f
Only hide shards from client backends and pg bg workers
...
The aim of hiding shards is to hide shards from client applications.
Certain bg workers (such as pg_cron or Citus maintanince daemon)
should be treated like client applications because users can run
queries from such bg workers. And, these bg workers should follow
the similar application_name checks as client backeends.
Certain other bg workers, such as logical replication or postgres'
parallel workers, should never hide shards. They are internal
operations.
Similarly the other backend types like the walsender or
checkpointer or autovacuum should never hide shards.
2022-03-30 16:56:12 +02:00
Ahmet Gedemenli
b94422d5cf
Merge pull request #5867 from citusdata/arbitrary-configs-view-test
...
Add view tests to arbitrary configs
2022-03-30 16:17:31 +03:00
Ahmet Gedemenli
f74d3eedc8
Add tests for materialized views
2022-03-30 16:01:11 +03:00
Ahmet Gedemenli
8ef2da8192
Add view tests to arbitrary configs
2022-03-30 12:28:31 +03:00
Önder Kalacı
670fae99f7
Add tests with function dependencies on tables ( #5866 )
...
We are not sure if we have such tests, but lets add anyway
2022-03-29 18:04:07 +03:00
Ahmet Gedemenli
1e1e66eeed
Add index tests to arbitrary configs ( #5862 )
2022-03-29 13:49:05 +03:00
Ahmet Gedemenli
b52823f8b4
Fix typo in error message for truncating foreign tables ( #5864 )
2022-03-29 13:14:16 +03:00
Önder Kalacı
6cb04c0d84
Merge pull request #5865 from citusdata/add_tests_check_mx
...
add missing check_mx for the schedules
2022-03-29 11:33:42 +02:00
Onder Kalaci
23ff095905
add missing check_mx
2022-03-29 10:35:12 +02:00
Hanefi Onaldi
7dc0a94293
Merge pull request #5852 from citusdata/citus-11.0.0-changelog-1647961698
2022-03-24 16:15:54 +03:00
Hanefi Onaldi
36ca2639f0
Add changelog entry for 11.0.0
2022-03-24 13:48:09 +03:00
Ahmet Gedemenli
6300b86f8a
Merge pull request #5842 from citusdata/drop-pg12-support
...
Drop PG12 support
2022-03-24 02:31:28 +03:00
Ahmet Gedemenli
42c46a0824
Drop PG12 support
2022-03-23 18:16:04 +03:00
Halil Ozan Akgül
40f3fbbc62
Merge pull request #5819 from citusdata/turn_metadata_sync_on_in_arbitrary_tests
...
Refactor arbitrary configs to make MX more explicit
2022-03-23 17:44:47 +03:00
Halil Ozan Akgul
c843ebe48e
Turn metadata sync on in arbitrary config tests
2022-03-23 15:19:52 +03:00
Jelte Fennema
3a44fa827a
Add versions of forboth that don't need ListCell ( #5856 )
...
We've had custom versions of Postgres its `foreach` macro which with a
hidden ListCell for quite some time now. People like these custom
macros, because they are easier to use and require less boilerplate.
This adds similar custom versions of Postgres its `forboth` macro. Now
you don't need ListCells anymore when looping over two lists at the same
time.
2022-03-23 14:50:36 +03:00
Ahmet Gedemenli
b5448e43e3
Fix aggregate signature bug ( #5854 )
2022-03-23 13:42:03 +03:00
Burak Velioglu
0c8aca7c5e
Merge pull request #5849 from citusdata/velioglu/support_func
...
Add support for deparsing ALTER FUNCTION ... SUPPORT ... commands
2022-03-22 22:23:40 +03:00
Burak Velioglu
db9f0d926c
Add support for deparsing ALTER FUNCION ... SUPPORT ... commands
2022-03-22 21:55:55 +03:00
Önder Kalacı
0ba334626b
Merge pull request #5851 from citusdata/remove_cte_inline
...
Remove citus.enable_cte_inlining GUC
2022-03-22 19:09:24 +01:00
Onder Kalaci
af4ba3eb1f
Remove citus.enable_cte_inlining GUC
...
In Postgres 12+, users can adjust whether to inline/not inline CTEs
by [NOT] MATERIALIZED keywords. So, this GUC is already useless.
2022-03-22 17:14:44 +01:00
Halil Ozan Akgül
37aefec537
Merge pull request #5847 from citusdata/alter_collation_encoding_does_not_exist_bug
...
Fixes ALTER COLLATION encoding does not exist bug
2022-03-22 18:30:49 +03:00
Halil Ozan Akgul
4690c42121
Fixes ALTER COLLATION encoding does not exist bug
2022-03-22 17:42:20 +03:00
Marco Slot
9c7fde92b6
Merge pull request #5840 from citusdata/marcocitus/fix-repartition
2022-03-22 13:53:52 +01:00
Marco Slot
32c23c2775
Disallow re-partition joins when no hash function defined
2022-03-22 13:42:53 +01:00
Onur Tirtir
11f246785e
Merge pull request #5836 from citusdata/fix/cannot-distribute-tmp-schemas
2022-03-22 15:30:31 +03:00