Commit Graph

8 Commits (9b3ee66a27a886368cccedb5db80c43bc570e155)

Author SHA1 Message Date
Hadi Moshayedi 9b3ee66a27 reindent 2020-01-17 22:58:34 +00:00
Hadi Moshayedi 823c561ea9 Compile in PG10 2020-01-17 22:58:34 +00:00
Hadi Moshayedi 2dceabb047 add missing include 2020-01-17 22:53:47 +00:00
Hadi Moshayedi 72858579b0 Fix regression tests. 2020-01-17 22:53:47 +00:00
Hadi Moshayedi 6094b830de Warn we are not propagating GRANT/REVOKE to workers 2020-01-17 22:48:57 +00:00
Philip Dubé 73c06fae3b Introduce GetDistributeObjectOps to organize dispatch of logic dependent on node/object type 2020-01-09 18:24:29 +00:00
SaitTalhaNisanci 94a7e6475c
Remove copyright years (#2918)
* Update year as 2012-2019

* Remove copyright years
2019-10-15 17:44:30 +03:00
Marco Slot f383e4f307
Description: Refactor code that handles DDL commands from one file into a module
The file handling the utility functions (DDL) for citus organically grew over time and became unreasonably large. This refactor takes that file and refactored the functionality into separate files per command. Initially modeled after the directory and file layout that can be found in postgres.

Although the size of the change is quite big there are barely any code changes. Only one two functions have been added for readability purposes:

- PostProcessIndexStmt which is extracted from PostProcessUtility
- PostProcessAlterTableStmt which is extracted from multi_ProcessUtility

A README.md has been added to `src/backend/distributed/commands` describing the contents of the module and every file in the module.
We need more documentation around the overloading of the COPY command, for now the boilerplate has been added for people with better knowledge to fill out.
2018-11-14 13:36:27 +01:00