Commit Graph

6 Commits (8c67429e58059dd90868a3a123e4904175939c13)

Author SHA1 Message Date
Andres Freund 8c67429e58
Use extensible node API, abstract read-/out- funcs
This introduces macros to wrap differences between 9.5 and 9.6 read-
and out- functions for our custom nodes, allowing better code reuse
for those functions.

Additionally, if running on PostgreSQL 9.6, this change will register
extensible node types for all our custom nodes, permitting us to rely
on the standard PostgreSQL nodeToString, stringToNode, and readNode
functions.

Long-term, this change lets us avoid copy-pasting a ton of readfuncs
code as well as well as some other static methods we've been copying
in the past.
2016-10-13 16:25:35 -06:00
Andres Freund 982ad66753 Introduce placement IDs.
So far placements were assigned an Oid, but that was just used to track
insertion order. It also did so incompletely, as it was not preserved
across changes of the shard state. The behaviour around oid wraparound
was also not entirely as intended.

The newly introduced, explicitly assigned, IDs are preserved across
shard-state changes.

The prime goal of this change is not to improve ordering of task
assignment policies, but to make it easier to reference shards.  The
newly introduced UpdateShardPlacementState() makes use of that, and so
will the in-progress connection and transaction management changes.
2016-10-07 11:59:20 -07:00
Brian Cloutier af9515f669 Only reparse queries if the planner flags them for reparsing 2016-07-13 11:45:51 -07: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
Murat Tuncer 55c44b48dd Changed product name to citus
All citusdb references in
- extension, binary names
- file headers
- all configuration name prefixes
- error/warning messages
- some functions names
- regression tests

are changed to be citus.
2016-02-15 16:04:31 +02:00
Onder Kalaci 136306a1fe Initial commit of Citus 5.0 2016-02-11 04:05:32 +02:00