Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure chunk_dispatch #5169

Merged
merged 1 commit into from Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/copy.c
Expand Up @@ -60,8 +60,8 @@
#include "cross_module_fn.h"
#include "dimension.h"
#include "hypertable.h"
#include "nodes/chunk_dispatch.h"
#include "nodes/chunk_insert_state.h"
#include "nodes/chunk_dispatch/chunk_dispatch.h"
#include "nodes/chunk_dispatch/chunk_insert_state.h"
#include "subspace_store.h"

#if PG14_GE
Expand Down
8 changes: 2 additions & 6 deletions src/nodes/CMakeLists.txt
@@ -1,9 +1,5 @@
set(SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/chunk_dispatch.c
${CMAKE_CURRENT_SOURCE_DIR}/chunk_dispatch_plan.c
${CMAKE_CURRENT_SOURCE_DIR}/chunk_dispatch_state.c
${CMAKE_CURRENT_SOURCE_DIR}/chunk_insert_state.c
${CMAKE_CURRENT_SOURCE_DIR}/hypertable_modify.c)
set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/hypertable_modify.c)
target_sources(${PROJECT_NAME} PRIVATE ${SOURCES})
add_subdirectory(chunk_append)
add_subdirectory(chunk_dispatch)
add_subdirectory(constraint_aware_append)
208 changes: 0 additions & 208 deletions src/nodes/chunk_dispatch.c

This file was deleted.

4 changes: 4 additions & 0 deletions src/nodes/chunk_dispatch/CMakeLists.txt
@@ -0,0 +1,4 @@
# Add all *.c to sources in upperlevel directory
set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/chunk_dispatch.c
${CMAKE_CURRENT_SOURCE_DIR}/chunk_insert_state.c)
target_sources(${PROJECT_NAME} PRIVATE ${SOURCES})