summaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
authorRobert Haas2017-01-24 15:20:02 +0000
committerRobert Haas2017-01-24 15:20:02 +0000
commit27cdb3414b3fb4c8fcc069572568390450bb04c9 (patch)
tree3a9dace39830062e588aad7d2062171bdec6f343 /src/include/nodes
parent96e0ccc2b589eda26585ed2a8dabf34b16747c1a (diff)
Reindent table partitioning code.
We've accumulated quite a bit of stuff with which pgindent is not quite happy in this code; clean it up to provide a less-annoying base for future pgindent runs.
Diffstat (limited to 'src/include/nodes')
-rw-r--r--src/include/nodes/parsenodes.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index aad4699f485..07a84361432 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -715,11 +715,11 @@ typedef struct XmlSerialize
typedef struct PartitionElem
{
NodeTag type;
- char *name; /* name of column to partition on, or NULL */
- Node *expr; /* expression to partition on, or NULL */
- List *collation; /* name of collation; NIL = default */
- List *opclass; /* name of desired opclass; NIL = default */
- int location; /* token location, or -1 if unknown */
+ char *name; /* name of column to partition on, or NULL */
+ Node *expr; /* expression to partition on, or NULL */
+ List *collation; /* name of collation; NIL = default */
+ List *opclass; /* name of desired opclass; NIL = default */
+ int location; /* token location, or -1 if unknown */
} PartitionElem;
/*
@@ -728,9 +728,9 @@ typedef struct PartitionElem
typedef struct PartitionSpec
{
NodeTag type;
- char *strategy; /* partitioning strategy ('list' or 'range') */
- List *partParams; /* List of PartitionElems */
- int location; /* token location, or -1 if unknown */
+ char *strategy; /* partitioning strategy ('list' or 'range') */
+ List *partParams; /* List of PartitionElems */
+ int location; /* token location, or -1 if unknown */
} PartitionSpec;
#define PARTITION_STRATEGY_LIST 'l'
@@ -749,8 +749,8 @@ typedef struct PartitionBoundSpec
List *listdatums;
/*
- * Range partition lower and upper bounds; each member of the lists
- * is a PartitionRangeDatum (see below).
+ * Range partition lower and upper bounds; each member of the lists is a
+ * PartitionRangeDatum (see below).
*/
List *lowerdatums;
List *upperdatums;