summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMichael P2012-01-06 00:19:40 +0000
committerMichael P2012-01-06 00:19:40 +0000
commitb7e0324dba613acb9c72391a511b5cd0bcc0e6f5 (patch)
tree63bb9e6dbe59b529903da8c5f2463b9e5ffaefdc /src/backend/tcop/postgres.c
parent4934c89f160e3c174cec0c3eaef279f458811bb3 (diff)
Support for remote UPDATE planning in standard planning
This commit focuses on support of UPDATE queries using non-pushable expressions in SET and WHERE clauses. The UPDATE query is generated based on the output of the SELECT query generated by create_remotequery_plan to select the correct tuples to update remotelly with a top plan that was not generated before. Current implementation has a restriction though: on replicated tables all the columns cannot be updated at once if the query is not entirely pushable. Postgres-XC planner is in charge of analyzing that. For distributed tables, the distribution column cannot be updated so this restriction is not directly applied but this should be taken into account once a tuple relocation mechanism is added.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions