55 Commits

Author SHA1 Message Date
Matvey Arye
f227db4b52 Fixes command tag return for COPY on hypertables.
Previously, COPY on hypertables always returned 'COPY 0' in the
command tag. Now, returns the correct count. Fixes #40.
2017-05-16 16:43:47 -04:00
Erik Nordström
c60b08e83a Fix DROP EXTENSION
DROP EXTENSION didn't properly reset caches and other saved state
causing various errors related to bad state when the extension was
dropped and/or recreated later.

This patch adds functionality to track the state of the extension and
also signals DROP EXTENSION to other backends that might be running,
allowing them to reset their internal extension state.
2017-03-22 19:43:40 +01:00
Matvey Arye
e9c554a901 Make insert operate on main table instead of on root table 2017-03-14 12:49:17 -04:00
Erik Nordström
001c41f84a Rename IobeamLoaded() to extension_is_loaded() 2017-03-14 14:08:39 +01:00
Erik Nordström
aa51e221f3 Break up timescaledb.c into separate source files.
This patch refactors the source code so that a bunch of unrelated code
for the planner, process utilities and transaction management, which
was previously located in the common file timescaledb.c, is now broken
up into separate source files.
2017-03-14 13:50:08 +01:00