3890 Commits

Author SHA1 Message Date
Matvey Arye
d3a3670aa6 Merged in install-nits (pull request #71)
nit to installation/docker
2017-01-31 22:03:14 +00:00
enordstr NA
ce2879a2c8 Merged in enordstr/backend-database/enordstr/refactor-dir-structure (pull request #70)
Refactor directory structure and tests
2017-01-31 19:17:56 +00:00
Erik Nordström
7b94c573ba Refactor directory structure and tests
- Directory structure now matches common practices
- Regression tests now run with pg_regress via the PGXS infrastructure.
- Unit tests do not integrate well with pg_regress and have to be run
  separately.
- Docker functionality is separate from main Makefile. Run with
  `make -f docker.mk` to build and `make -f docker.mk run` to run
  the database in a container.
2017-01-31 20:14:19 +01:00
Olof Rensfelt
4fd1d9d299 Merged in olof_rensfelt/backend-database/ore/add_server_port (pull request #66)
Add port to server configuration
2017-01-31 15:41:02 +00:00
Olof Rensfelt
95f618bc06 Merged in olof_rensfelt/backend-database/ore/build-fixes (pull request #62)
runs test docker om different port
2017-01-31 12:18:17 +00:00
Olof Rensfelt
b919df869f runs test docker om different port 2017-01-31 13:04:27 +01:00
Olof Rensfelt
17d6d0cff6 Add port to server configuration
Change the remote node schema_name
2017-01-31 11:55:18 +01:00
enordstr NA
1523ad89c6 Merged in enordstr/backend-database/enordstr/tablespaces (pull request #63)
Add support for tablespaces
2017-01-31 10:07:09 +00:00
Erik Nordström
8abc301e51 Add support for tablespaces
Identically named tablespaces need to exist on each data node before
a hypertable is created from a table that references a tablespace.
2017-01-31 10:38:01 +01:00
enordstr NA
b52dc630ee Merged in remove-distinct (pull request #67)
Remove distinct tables.
2017-01-31 09:12:06 +00:00
Matvey Arye
d4747af795 Remove distinct tables.
Distinct tables will need to be re-implemented on a per-chunk basis in
the future.
2017-01-30 15:09:15 -05:00
RobAtticus NA
7dfad22927 Merged in truncate (pull request #64) 2017-01-30 19:59:44 +00:00
Matvey Arye
6c3ee77d23 Adding API doc link 2017-01-30 14:56:50 -05:00
Rob Kiefer
bd364ae023 Block TRUNCATEs on meta tables 2017-01-30 12:33:59 -05:00
RobAtticus NA
b3ae7208b5 Merged in create-hyper-meta (pull request #65) 2017-01-30 17:28:05 +00:00
Rob Kiefer
69f30abf7c Throw error when creating hypertable on non-data node 2017-01-30 12:23:55 -05:00
Matvey Arye
9c9ef0981f Merged in schema-cleanup (pull request #61)
Allow extension to be installed in a different schema
2017-01-30 17:07:13 +00:00
Matvey Arye
95afe4f2a0 Allow extension to be installed in a different schema
This changes the extension to allow it be installed in a different
schema. Part of this change also adds a partioning_func_schema option
so that the partitioning_func does not need to live in search_path.
2017-01-30 12:02:57 -05:00
enordstr NA
7f7e9eff68 Merged in enordstr/backend-database/enordstr/allow-0-time-epoch (pull request #57)
Allow partition epochs to start and end at time 0.
2017-01-30 15:50:45 +00:00
Erik Nordström
334e302c8c Allow partition epochs to start and end at time 0.
This aligns the partition epoch table with the chunk table,
which allows data in chunks to start and end at time 0.
2017-01-30 12:20:19 +01:00
RobAtticus NA
16e97be00d Merged in trigger-rename (pull request #60) 2017-01-27 16:51:33 +00:00
Rob Kiefer
22cbee18fe Common function for trigger errors 2017-01-27 11:29:21 -05:00
Rob Kiefer
32b91eeded Rename triggers from on_create_X to on_change_X 2017-01-26 16:09:09 -05:00
RobAtticus NA
ee2d914d34 Merged in update-delete (pull request #58) 2017-01-26 20:19:49 +00:00
Matvey Arye
3cc1940c57 Add support for UPDATE and DELETE commands 2017-01-26 14:58:58 -05:00
Matvey Arye
459f9fd3d5 Merged in enordstr/backend-database/enordstr/only-time-partitioning (pull request #52)
Allow partitioning in only time dimension
2017-01-26 19:56:58 +00:00
Erik Nordström
d87a6ee5a0 Allow partitioning in only time dimension
This allows creating hypertables as follows:
```
CREATE TABLE only_1dim(time timestamp, temp float);
SELECT create_hypertable('only_1dim', 'time');
INSERT INTO only_1dim VALUES('2017-01-12T08:11:03', 23.4);
```

It is implemented by making the specification of a partitioning column
optional, and when NULL the number of partitions will be set to 1.
2017-01-26 11:57:22 +01:00
enordstr NA
4a6e707bdd Merged in name-to-serial (pull request #59)
Change hypertable.name to hypertable.id with type SERIAL
2017-01-26 09:05:06 +00:00
Rob Kiefer
2646480657 Change hypertable.name to hypertable.id with type SERIAL 2017-01-25 17:26:53 -05:00
RobAtticus NA
5dde9d4ea2 Merged in cleanup (pull request #55) 2017-01-25 17:55:19 +00:00
Rob Kiefer
657c929aa8 Cleanup some identation and alignment issues 2017-01-25 12:49:51 -05:00
Olof Rensfelt
115179476e Merged in olof_rensfelt/backend-database/ore/check_conflict (pull request #51)
Removed ON CONFLICT DO NOTHING statements where it works.
2017-01-25 16:32:10 +00:00
Olof Rensfelt
2b08c4a78a Removed ON CONFLICT DO NOTHING statements where it works. 2017-01-25 17:26:55 +01:00
Matvey Arye
9746321190 Merged in usability-fixes (pull request #56)
Misc usability fixes
2017-01-25 16:09:30 +00:00
Matvey Arye
97205a7cec Misc usability fixes 2017-01-24 17:26:57 -05:00
Matvey Arye
a86bb7e9d0 Merged in docker-fixes (pull request #54)
Changes to Makefile and associated scripts to make docker commands act as expected + to mount a data volume
2017-01-24 20:29:34 +00:00
Matvey Arye
ce5e1aecd7 Changes to Makefile and associated scripts to make docker commands act as expected + to mount a data volume 2017-01-24 14:59:54 -05:00
Rob Kiefer
20489d2a6c Cleanup indentation in schema_info.sql 2017-01-24 13:07:21 -05:00
RobAtticus NA
a1d25906b5 Merged in move-internal (pull request #53) 2017-01-24 17:40:01 +00:00
Rob Kiefer
7f548f6f91 Remove ioql helper functions 2017-01-24 12:25:44 -05:00
Rob Kiefer
b25e71aa4e Move more functions into _iobeamdb_internal. 2017-01-24 12:21:35 -05:00
enordstr NA
3f09177467 Merged in enordstr/backend-database/enordstr/remove-ioql (pull request #50)
Remove IOQL
2017-01-24 17:19:41 +00:00
Erik Nordström
35276966c4 Remove IOQL 2017-01-24 17:50:46 +01:00
Rob Kiefer
c40fe596c4 Replace all _sysinternal instances in tests 2017-01-24 11:46:53 -05:00
Rob Kiefer
2b8855543b Fix missed references to _meta 2017-01-24 11:30:29 -05:00
RobAtticus NA
5c68b739e2 Merged in rename-sysinternal (pull request #47) 2017-01-24 16:10:10 +00:00
Rob Kiefer
2594d0b6ce Rename _sysinternal to _iobeamdb_internal and _meta to _iobeamdb_meta. 2017-01-24 11:08:55 -05:00
Matvey Arye
d2ba389c83 Merged in fix-pg_dump (pull request #48)
Fix (and test) pg_dump of extension tables
2017-01-24 15:18:59 +00:00
Matvey Arye
3efccceae0 Fix (and test) pg_dump of extension tables 2017-01-24 10:11:49 -05:00
enordstr NA
c49a51a4f0 Merged in enordstr/backend-database/enordstr/delete-retention (pull request #41)
Allow dropping hypertable chunks older than some timestamp
2017-01-24 08:59:12 +00:00