summaryrefslogtreecommitdiff
path: root/src/include/replication/logicalproto.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-16 20:36:35 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-16 20:36:35 -0400
commitc079673dcb7f210617c9fc1470e6bf166d8a2971 (patch)
treecd8a2c6834da8d1157f11a38cb6272dc48e42dd1 /src/include/replication/logicalproto.h
parentddd243584a0f353bbaba260d976cc41b251bbf21 (diff)
Preventive maintenance in advance of pgindent run.
Reformat various places in which pgindent will make a mess, and fix a few small violations of coding style that I happened to notice while perusing the diffs from a pgindent dry run. There is one actual bug fix here: the need-to-enlarge-the-buffer code path in icu_convert_case was obviously broken. Perhaps it's unreachable in our usage? Or maybe this is just sadly undertested.
Diffstat (limited to 'src/include/replication/logicalproto.h')
-rw-r--r--src/include/replication/logicalproto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/replication/logicalproto.h b/src/include/replication/logicalproto.h
index 0d8153c39d9..9d0c15d4036 100644
--- a/src/include/replication/logicalproto.h
+++ b/src/include/replication/logicalproto.h
@@ -30,8 +30,10 @@
/* Tuple coming via logical replication. */
typedef struct LogicalRepTupleData
{
- char *values[MaxTupleAttributeNumber]; /* value in out function format or NULL if values is NULL */
- bool changed[MaxTupleAttributeNumber]; /* marker for changed/unchanged values */
+ /* column values in text format, or NULL for a null value: */
+ char *values[MaxTupleAttributeNumber];
+ /* markers for changed/unchanged column values: */
+ bool changed[MaxTupleAttributeNumber];
} LogicalRepTupleData;
typedef uint32 LogicalRepRelId;