-
Notifications
You must be signed in to change notification settings - Fork 68
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
Add function to sync metadata to CitusDB #56
Commits on Jan 19, 2015
-
New UDF to sync metadata from pg_shard to CitusDB
Performs an on-demand sync from pg_shard's metadata to that of Citus.
Configuration menu - View commit details
-
Copy full SHA for d676a71 - Browse repository at this point
Copy the full SHA d676a71View commit details -
Reimplemented sync function in SQL
Now the only C function remaining returns the Var representation of the partition column.
Configuration menu - View commit details
-
Copy full SHA for 7e53bfd - Browse repository at this point
Copy the full SHA 7e53bfdView commit details -
Reimplemented in PL/pgSQL instead of standard SQL
Also converted the C function to use an Oid, thus allowing us to keep ResolveRelationId unchanged.
Configuration menu - View commit details
-
Copy full SHA for 75f2332 - Browse repository at this point
Copy the full SHA 75f2332View commit details
Commits on Jan 20, 2015
-
Build Citus sync function as part of extension
Add object file to targets.
Configuration menu - View commit details
-
Copy full SHA for 3ffa0b2 - Browse repository at this point
Copy the full SHA 3ffa0b2View commit details -
Change partition column function to ERROR on NULL
We won't call it this way, but just in case.
Configuration menu - View commit details
-
Copy full SHA for 64569ea - Browse repository at this point
Copy the full SHA 64569eaView commit details -
Clean up PL/pgSQL formatting, add COMMENTs
We use tabs, so switched to those. Also added NOT NULL and CONSTANT modifiers to make variable declaration more explicit. Finally, added function comments, which will display when users ask for descriptions of functions.
Configuration menu - View commit details
-
Copy full SHA for 80c9034 - Browse repository at this point
Copy the full SHA 80c9034View commit details -
Add unit tests for sync functionality
Tests nodeToString internal UDF as well as the user-facing sync UDF.
Configuration menu - View commit details
-
Copy full SHA for 6c57c8f - Browse repository at this point
Copy the full SHA 6c57c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f013b29 - Browse repository at this point
Copy the full SHA f013b29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c0c3d3 - Browse repository at this point
Copy the full SHA 0c0c3d3View commit details