citusdata / citusdata/citus

Avoid propagating passed in text query directly to worker nodes

Open
#356 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

@anarazel brought up the following in context of DDL command propagation:

1) The query string can potentially contain multiple SQL statements and such. In that case just sending it to the workers as-is is obviously wrong.

2) The original query depends on the search path and such on the primary, something that's potentially going to be different on workers. We should never just send query text ahead as-is.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.