mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +03:00
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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user