Skip to content

Commit

Permalink
Add comment to nodeToString C UDF
Browse files Browse the repository at this point in the history
Forgot this one.
  • Loading branch information
jasonmp85 committed Jan 20, 2015
1 parent 6c57c8f commit f013b29
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions citus_metadata_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,20 @@
#include "distribution_metadata.h"

#include "utils/builtins.h"
#include "utils/lsyscache.h"


/* declarations for dynamic loading */
PG_FUNCTION_INFO_V1(partition_column_to_node_string);


/*
* partition_column_to_node_string is an internal UDF to obtain the textual
* representation of a partition column node (Var), suitable for use within
* CitusDB's metadata tables. This function expects an Oid identifying a table
* previously distributed using pg_shard and will raise an ERROR if the Oid
* is NULL, or does not identify a pg_shard-distributed table.
*/
Datum
partition_column_to_node_string(PG_FUNCTION_ARGS)
{
Expand Down

0 comments on commit f013b29

Please sign in to comment.