Commit Graph

1055 Commits (release-6.2)

Author SHA1 Message Date
velioglu cba54fe9a8 Bump Citus version to 6.2.6 2018-07-06 15:47:58 +03:00
velioglu da675a9059 Add changelog entry for 6.2.6 2018-07-06 15:43:55 +03:00
Burak Velioglu 6be5be78cd
Merge pull request #2258 from citusdata/release-6.2-respect_enable_hashagg
Release 6.2 respect enable hashagg
2018-07-06 14:40:08 +03:00
velioglu c7213dd377 Make citus_indent happy 2018-07-06 14:19:11 +03:00
velioglu 8723a89b03 Update tools version to pass travis 2018-07-06 13:50:40 +03:00
velioglu 40a606cbbb Fix tests 2018-07-06 13:01:05 +03:00
Metin Doslu 6ed64d06ea Respect enable_hashagg in the master planner for group by 2018-07-06 11:45:18 +03:00
velioglu 6001f753ed Bump Citus version to 6.2.5 2018-01-11 13:01:30 +03:00
velioglu bf5543f92d Add changelog entry for 6.2.5 2018-01-11 12:56:20 +03:00
Onder Kalaci 67c4dac89b Properly copy and trim the error messages that come from pg_conn
When a NULL connection is provided to PQerrorMessage(), the
returned error message is a static text. Modifying that static
text, which doesn't necessarly be in a writeable memory, is
dangreous and might cause a segfault.
2018-01-11 12:52:55 +03:00
Burak Yucesoy 0ed33515a1 Bump Citus version to 6.2.4 2017-09-28 10:35:27 -07:00
Burak Yucesoy cab7185f23 Add CHANGELOG entry for 6.2.4 2017-09-28 10:32:28 -07:00
Marco Slot ea4e22473b Add multi-user re-partitioning regression tests 2017-09-28 15:38:05 +02:00
Marco Slot e4579f02c8 Execute transmit commands as superuser during task-tracker queries 2017-09-28 15:38:05 +02:00
Marco Slot 81687585d2 Check for absolute paths in COPY with format transmit 2017-09-28 15:29:50 +02:00
Marco Slot 14799ef2a0 Allow read-only users to run task-tracker queries 2017-09-28 15:29:50 +02:00
Marco Slot 96eca92fc7 Consider dropped columns that precede the partition column in COPY 2017-08-23 13:55:14 +02:00
Eren Başak 44eacf14fc Fix pg_worker_list use-after-free bug
This change fixes a use-after-free bug while renaming obsolete
`pg_worker_list.conf` file, which causes Citus to crash during upgrade
(or even extension creation) if `pg_worker_list.conf` exists.
2017-08-15 11:03:51 +03:00
Burak Yucesoy 124b0f9020 Bump configure PACKAGE_VERSION to 6.2.3 2017-07-13 00:06:46 -06:00
Burak Yucesoy 0849da2708 Add CHANGELOG entry for 6.2.3 2017-07-13 00:06:46 -06:00
Burak Yucesoy dd6a456bed Add tests for concurrent INSERT and VACUUM behaviour 2017-07-13 00:06:46 -06:00
Burak Yucesoy 0f01dc3bb8 Remove LockRelationDistributionMetadata function 2017-07-13 00:06:46 -06:00
Burak Yucesoy ab509db0d8 Use ShareUpdateExclusiveLock instead ShareLock in VACUUM
Before this change, we used ShareLock to acquire lock on distributed tables while
running VACUUM. This makes VACUUM and INSERT block each other. With this change we
changed lock mode from ShareLock to ShareUpdateExclusiveLock, which does not conflict
with the locks INSERT acquire.
2017-07-13 00:06:46 -06:00
Marco Slot e735655d82 Add weird column name to create_distributed_table test 2017-07-06 23:00:56 +02:00
Marco Slot 1678deeecd Handle implicit casts in prepared INSERTs
Backported from citusdata/citus#1487
2017-07-06 22:11:16 +02:00
Marco Slot 43f9758787 Support quoted column-names in COPY logic 2017-06-30 17:07:06 +02:00
Jason Petersen 5bd4583935
Don't call PostProcessUtility for local commands
Backported from citusdata/citus#1457
cherry-pick of citusdata/citus@294aeff

It is intended only to aid in processing of distributed DDL commands,
but as written could execute during local CREATE INDEX CONCURRENTLY
commands.
2017-06-19 16:00:27 -06:00
Jason Petersen b839af761f
Bump configure PACKAGE_VERSION
Forgot this for the OSS 6.2.2 release (which will display 6.2.1 for
SHOW citus.version), but we still can get it into Enterprise.
2017-06-12 16:57:55 -06:00
Jason Petersen 16798e38f9 Add 6.2.2 CHANGELOG entry 2017-06-06 14:29:24 +03:00
Marco Slot fd05849eff Don't take a table lock in ForeignConstraintGetReferencedTableId 2017-05-31 15:27:18 -07:00
Jason Petersen aa2d2f46f4
Bump configure PACKAGE_VERSION
Prepping for release.
2017-05-24 13:56:28 -06:00
Jason Petersen b0aa0479cf
Bump CHANGELOG for 6.2.1 2017-05-24 13:56:28 -06:00
Burak Yucesoy 0c9901f042
Add tests for version check 2017-05-24 13:16:04 -06:00
Burak Yucesoy 52b056c301
Register cache invalidation callback before version checks
With this commit we start to register InvalidateDistRelationCacheCallback
function as cache invalidation callback function before version checks
because during version checks we use cache to look up relation ids of some
relations like pg_dist_relation or pg_dist_partition_logical_relid_index
and we want to know about cache invalidation before accessing them.
2017-05-24 13:16:04 -06:00
Burak Yucesoy 5b300a7aa9
Fix incorrect call to CheckInstalledVersion
During version update, we indirectly calld CheckInstalledVersion via
ChackCitusVersions. This obviously fails because during version update it is
expected to have version mismatch between installed version and binary version.
Thus, we remove that ChackCitusVersions. We now only call ChackAvailableVersion.
2017-05-24 13:16:03 -06:00
Burak Yucesoy 0530974d3d
Add tests for version checks 2017-05-24 13:14:08 -06:00
Burak Yucesoy c1ca6e6819 Add version checks to necessary UDFs 2017-05-22 10:43:40 +03:00
Burak Yucesoy c59481141f Only error out on distributed queries when there is version mismatch
Before this commit, we were erroring out at almost all queries if there is a
version mismatch. With this commit, we started to error out only requested
operation touches distributed tables.

Normally we would need to use distributed cache to understand whether a table
is distributed or not. However, it is not safe to read our metadata tables when
there is a version mismatch, thus it is not safe to create distributed cache.
Therefore for this specific occasion, we directly read from pg_dist_partition
table. However; reading from catalog is costly and we should not use this
method in other places as much as possible.
2017-05-22 10:43:40 +03:00
Burak Yucesoy cf4592ce28 Fix crash during upgrade from 5.2 to 6.2
This commit fixes the problem where we incorrectly try to reach distributed table
cache when the extension is not loaded completely. We tried to reach the cache
because we wanted to get reference table information to activate the node. However
it is actually not necessary to explicitly activate the nodes which come from
master_initialize_node_metadata. Because it only runs during extension creation and
at that time there are no reference tables and all nodes are considered as active.
2017-05-22 10:43:40 +03:00
Jason Petersen 062734a6f5
Bump configure PACKAGE_VERSION
Prepping for release.
2017-05-16 22:40:56 -06:00
Burak Yucesoy ac5fcbe998
Update CHANGELOG for v6.2.0
CHANGELOG changes for 6.2 release
2017-05-16 22:33:29 -06:00
Burak Yücesoy 40ebd93be3 Merge pull request #1412 from citusdata/fix_schema_owner_name
Send correct and quoted owner name while propagating schema creation
2017-05-15 06:11:08 -08:00
Burak Yucesoy 577ffb2bf2 Add tests for non-default schema owner 2017-05-15 16:49:37 +03:00
Burak Yucesoy 5a3a32d6df Quote schema's owner name
When we propogate the schema creation command to data nodes we add schema's
owner name too. Before this patch, we did not quote the owner's name which
causes problems with the names containing characters like '-'.
2017-05-15 16:26:32 +03:00
Burak Yucesoy 1b5560b2f7 Fix OwnerName function to work with schemas
We incorrectly try to use relation cache to find particular schema's owner and
when we cannot find the schema in the relation cache(i.e always), we automatically
used current user as the schema's owner. This means we always created schemas in
the data nodes with current user. With this patch we started to use namespace
cache to find schemas.
2017-05-15 16:26:32 +03:00
Önder Kalacı a7c65a3ed8 Add 9.5 output file for isolation test (#1413)
With commit we add one additional regression test output file which
has some output syntax differences with its 9.6 equivalence.
2017-05-15 15:27:37 +03:00
Jason Petersen fb836ee7cc Merge pull request #1343 from citusdata/test_custom_compiled_postgres
Use custom compiled PostgreSQL in Travis for merge commits

cr: @jasonmp85
2017-05-12 15:15:55 -06:00
Jason Petersen 05d42b01d3
Mark test failing in 9.5 as 'ignore'
This test was added this morning, but is failing in 9.5.
2017-05-12 15:00:42 -06:00
Burak Yucesoy 75d58cbf94
Travis merge jobs use custom-compiled PostgreSQL
With this commit, we start to use custom compiled PostgreSQL builds in
Travis for merge commits. This allows us to run isolation tests and
PostgreSQL's own regression tests along with our regression tests in
Travis.

Since manually compiling PostgreSQL takes more time and we also add new
tests, we only enable running these tests on merge commits.
2017-05-12 15:00:42 -06:00
Önder Kalacı 3adbbdcdcb Fix typo in the regression test (#1410) 2017-05-12 15:46:38 +03:00