Commit Graph

1394 Commits (a1387f4aa814afcc8d26cfec36d2006a486d18fa)

Author SHA1 Message Date
eren 8a284aab92 Fixes issue #313
Prior to this change, it was not possible to use UDFs in repartitioned
subqueries. The reason is that we were setting the search path explicitly
and omiting public schema from that path.

This change adds the public schema to the explicitly set search path.
2016-03-30 15:39:12 +03:00
Ahmet Eren Basak ac05e561ed Merge pull request #392 from citusdata/bugfix/#258-spurious-notice-message-with-any
Fix spurious NOTICE messages with ANY/ALL
2016-03-25 14:42:13 +02:00
eren ef6d5c7571 Fix spurious NOTICE messages with ANY/ALL
Fixes issue #258

Prior to this change, Citus gives a deceptive NOTICE message when a query
including ANY or ALL on a non-partition column is issued on a hash
partitioned table.

Let the github_events table be hash-distributed on repo_id column. Then,
issuing this query:
    SELECT count(*) FROM github_events WHERE event_id = ANY ('{1,2,3}')

Gives this message:
    NOTICE: cannot use shard pruning with ANY (array expression)
    HINT: Consider rewriting the expression with OR clauses.

Note that since event_id is not the partition column, shard pruning would
not be applied in any case. However, the NOTICE message would be valid
and be given if the ANY clause would have been applied on repo_id column.

Reviewer: Murat Tuncer
2016-03-25 14:30:02 +02:00
Metin Döşlü 3bfb5c430b Update Travis links 2016-03-24 23:24:09 -07:00
Murat Tuncer a9652daef7 Merge pull request #385 from citusdata/feature/unique_index
Allow users to create unique indexes
2016-03-24 09:43:04 +02:00
Murat Tuncer e74decf8b4 Allow users to create unique indexes
Users can now create unique indexes on partition columns
for hash and range distributed tables.
2016-03-24 09:31:06 +02:00
Joe Nelson 833048451c Remove redundant information 2016-03-23 17:33:12 -07:00
Jason Petersen 697d3ea09b
Merge latest 5.0 release fixes 2016-03-23 17:43:34 -06:00
Joe Nelson 11a5aef001 Merge pull request #400 from citusdata/contributing-cla
Add CLA link to contributing.md
2016-03-23 16:36:42 -07:00
Jason Petersen 1eebb9a6c3
Fix strlcpy off-by-one error
WORKER_LENGTH + 1 is too large. Fixing this has no impact on the string
that is ultimately copied, as it's impossible for the source string to
be any larger to begin with.
2016-03-23 17:34:34 -06:00
Joe Nelson 956395b3a9 Add CLA link to contributing.md 2016-03-23 16:29:33 -07:00
Jason Petersen f9e2e50e4f
Add CHANGELOG 2016-03-23 17:28:16 -06:00
Jason Petersen 374d3237c2 Merge pull request #386 from citusdata/add_license
Add or update license/copyright information

cr: @sumedhpathak @begriffs
2016-03-23 17:23:04 -06:00
Jason Petersen f87df6ccf8
Remove libpng caveat
I'm not sure this description was 100% accurate; users can open issues
if they continue to have linkage problems.
2016-03-23 17:20:35 -06:00
Jason Petersen 59a28e24c9
Add LICENSE information to README
Integrating this into the new file.
2016-03-23 17:17:43 -06:00
Jason Petersen 423e6c8ea0
Update copyright dates
Fixed configure variable and updated all end dates to 2016.
2016-03-23 17:14:37 -06:00
Jason Petersen 9521fcfb22
Add AGPL-3.0 in LICENSE file
Adding our license.
2016-03-23 17:04:58 -06:00
Joe Nelson a7d3b79a50 Merge pull request #398 from citusdata/readme-polish
Improve readme
2016-03-23 15:59:54 -07:00
Joe Nelson c3ef3908ec Note libpng brew mac problem 2016-03-23 15:57:02 -07:00
Joe Nelson 63668d8185 Use newest postgresql formula on homebrew 2016-03-23 15:26:25 -07:00
Joe Nelson c9e9ec7520 Use named links in readme 2016-03-23 15:22:58 -07:00
Joe Nelson 74d38eb1cc Updated install instructions for linux and mac 2016-03-23 15:12:11 -07:00
Joe Nelson df7b1f411a Specific build instructions for mac vs linux 2016-03-23 14:08:26 -07:00
Joe Nelson 6bf4f61a88 Link explicitly to 5.0 docs rather than current/ 2016-03-23 13:22:00 -07:00
Joe Nelson dbf825f5f3 Make list of users more compact 2016-03-23 13:19:01 -07:00
Joe Nelson 7b46e50088 Add who's using section 2016-03-22 14:06:39 -07:00
Joe Nelson f5a1156943 Copyright footer 2016-03-22 14:06:38 -07:00
Joe Nelson d1cc61087d Docs in /docs/citus/current 2016-03-22 14:06:38 -07:00
Joe Nelson da6e6608f6 Add basic CONTRIBUTING.md 2016-03-22 14:06:31 -07:00
Joe Nelson d609325a44 Add note about missing sql commands
Help avoid a frustrating surprise
2016-03-22 11:20:04 -07:00
Joe Nelson 233160f5bd Link to freenode web client rather than irc:// protocol
Chrome was not understanding the direct link (did not spawn my irc client)
2016-03-22 11:11:56 -07:00
Joe Nelson e079f2d470 Change docs url to what it will be when 5.0 is live 2016-03-22 10:58:35 -07:00
Samay Sharma 664f1d077e Merge pull request #397 from citusdata/ozgune-patch-1
Fix broken links in README.
2016-03-21 11:46:48 -07:00
Ozgun Erdogan e4074f690d Update README.md
Fix line breaks that caused broken URLs.
2016-03-21 11:30:13 -07:00
Samay Sharma b167877cf6 Merge pull request #396 from citusdata/ozgune-patch-1
Update README.md
2016-03-21 10:59:40 -07:00
Ozgun Erdogan 3ae86ca3bd Update README.md
Minor fix to markdown for hyperlink to citusdata.com
2016-03-21 09:39:29 -07:00
Ozgun Erdogan c1390acb4c Merge pull request #393 from citusdata/readme-5.0
Readme for 5.0
2016-03-21 09:34:26 -07:00
Joe Nelson 3a844ef673 Fully qualify citus url 2016-03-18 14:35:23 -07:00
Joe Nelson 459fa497a3 Use real Travis badge 2016-03-18 13:55:21 -07:00
Joe Nelson bc48785b23 Readme for 5.0 2016-03-18 13:32:13 -07:00
Andres Freund 3e512db025 Merge pull request #360 from citusdata/ddl-rep-regressiontest-improvements
Improve DDL replication related regression tests.

Reviewed-By: Samay Sharma
2016-03-17 16:16:04 -07:00
Andres Freund 53309461cb Improve DDL replication related regression tests.
The previous form of the test, utilizing DEBUG2, included too much
output dependent on the specifc system and version. Reformulate it to
explicitly connect to workers and show the schema there, when necessary.

The only remaining difference in some of the remaining alternate
regression test files was due to an older minor version release
change. Remove those as well.
2016-03-17 16:05:54 -07:00
Andres Freund 5311960200 Make :master_port and :worker_$n_port available to all regression tests.
There already exist tests that locally embed knowledge about port
numbers, and there's more tests requiring that. Instead of copying
\set's to several tests, make these port number variables available to
all tests.
2016-03-17 16:05:54 -07:00
Andres Freund 07b0348c8c Merge pull request #383 from citusdata/feature/pg_stat_statements
Copy toplevel queryId to citus' master statement.
2016-03-17 15:35:23 -07:00
Andres Freund b60f5da774 Copy toplevel queryId to citus' master statement.
multi_ExecutorStart() replaces the original planned statement with the
master select statement. As that hasn't gone through the parse analysis
hooks, it'll not have a associated queryId.  This prevents extensions
pg_stat_statements to show useful data associated with the query.
2016-03-14 17:27:52 -07:00
Jason Petersen 692563930f Merge pull request #382 from citusdata/build_fixes
Fix various build issues

cr: @anarazel
2016-03-11 14:59:57 -07:00
Jason Petersen d9a1eaeb92 Merge pull request #378 from citusdata/build_fixes
Fix various build issues

cr: @anarazel
2016-03-11 14:28:54 -07:00
Jason Petersen a53fb90ef9
Fix various build issues
I came across several places we weren't as flexible or resilient as we
should have been in our build logic. They include:

  * Not using `DESTDIR` in the install-header destination
  * Allowing callers to specify `VPATH` or `srcdir` (which breaks)
  * Using absolute path for SCRIPTS (9.5 prepends srcdir)
  * Including libpq-int in a confusing way (extracted this function)
  * Having server includes come first during csql build (client must)

In particular, I hit all of these attempting to build with pg_buildext
in Debian. It passes in an explicit VPATH, as well as srcdir (breaking
all recursive make invocations), and also uses DESTDIR during install.

In addition, a PGDG-enabled Debian box will have the latest libpq-dev
headers (e.g. 9.5) even when building against an older server version
(e.g. 9.4). This leads to problems when including e.g. `c.h`, which
is ambiguous. While compiling more client-side code (csql), we need to
ensure the newer libpq headers are included _first_, so I fixed that.
2016-03-11 13:38:47 -07:00
Jason Petersen 297bd5768d
Final formatting fixes 2016-02-17 17:20:14 -07:00
Jason Petersen bdf3cdd228 Merge pull request #340 from citusdata/bugfix/buildsystem
Small buildsystem fixes

cr: @jasonmp85
2016-02-17 17:14:46 -07:00