aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-11-29 09:24:24 -0500
committerRobert Haas <rhaas@postgresql.org>2017-11-29 09:24:24 -0500
commiteaedf0df7197b21182f6c341a44e4fdaa3cd6ea6 (patch)
tree710ce791d6a3a329649f0fe438c85f00199035a8 /src/backend/replication
parent801386af62eac84c13feec5a643c120cf0ce33bd (diff)
downloadpostgresql-eaedf0df7197b21182f6c341a44e4fdaa3cd6ea6.tar.gz
postgresql-eaedf0df7197b21182f6c341a44e4fdaa3cd6ea6.zip
Update typedefs.list and re-run pgindent
Discussion: http://postgr.es/m/CA+TgmoaA9=1RWKtBWpDaj+sF3Stgc8sHgf5z=KGtbjwPLQVDMA@mail.gmail.com
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/basebackup.c10
-rw-r--r--src/backend/replication/logical/reorderbuffer.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c
index cbcb3dbec36..ebb8fde3bc4 100644
--- a/src/backend/replication/basebackup.c
+++ b/src/backend/replication/basebackup.c
@@ -278,7 +278,7 @@ perform_base_backup(basebackup_options *opt, DIR *tblspcdir)
/* Send CopyOutResponse message */
pq_beginmessage(&buf, 'H');
pq_sendbyte(&buf, 0); /* overall format */
- pq_sendint16(&buf, 0); /* natts */
+ pq_sendint16(&buf, 0); /* natts */
pq_endmessage(&buf);
if (ti->path == NULL)
@@ -744,7 +744,7 @@ SendBackupHeader(List *tablespaces)
pq_sendstring(&buf, "spcoid");
pq_sendint32(&buf, 0); /* table oid */
pq_sendint16(&buf, 0); /* attnum */
- pq_sendint32(&buf, OIDOID); /* type oid */
+ pq_sendint32(&buf, OIDOID); /* type oid */
pq_sendint16(&buf, 4); /* typlen */
pq_sendint32(&buf, 0); /* typmod */
pq_sendint16(&buf, 0); /* format code */
@@ -774,10 +774,10 @@ SendBackupHeader(List *tablespaces)
/* Send one datarow message */
pq_beginmessage(&buf, 'D');
- pq_sendint16(&buf, 3); /* number of columns */
+ pq_sendint16(&buf, 3); /* number of columns */
if (ti->path == NULL)
{
- pq_sendint32(&buf, -1); /* Length = -1 ==> NULL */
+ pq_sendint32(&buf, -1); /* Length = -1 ==> NULL */
pq_sendint32(&buf, -1);
}
else
@@ -795,7 +795,7 @@ SendBackupHeader(List *tablespaces)
if (ti->size >= 0)
send_int8_string(&buf, ti->size / 1024);
else
- pq_sendint32(&buf, -1); /* NULL */
+ pq_sendint32(&buf, -1); /* NULL */
pq_endmessage(&buf);
}
diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c
index dc0ad5b0e72..fa95bab58ea 100644
--- a/src/backend/replication/logical/reorderbuffer.c
+++ b/src/backend/replication/logical/reorderbuffer.c
@@ -246,8 +246,8 @@ ReorderBufferAllocate(void)
sizeof(ReorderBufferTXN));
buffer->tup_context = GenerationContextCreate(new_ctx,
- "Tuples",
- SLAB_LARGE_BLOCK_SIZE);
+ "Tuples",
+ SLAB_LARGE_BLOCK_SIZE);
hash_ctl.keysize = sizeof(TransactionId);
hash_ctl.entrysize = sizeof(ReorderBufferTXNByIdEnt);