aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
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/tcop/postgres.c
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/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 05c5c194ec6..1ae9ac2d57f 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -2374,8 +2374,8 @@ exec_describe_statement_message(const char *stmt_name)
/*
* First describe the parameters...
*/
- pq_beginmessage_reuse(&row_description_buf, 't'); /* parameter description
- * message type */
+ pq_beginmessage_reuse(&row_description_buf, 't'); /* parameter description
+ * message type */
pq_sendint16(&row_description_buf, psrc->num_params);
for (i = 0; i < psrc->num_params; i++)
@@ -2952,14 +2952,14 @@ ProcessInterrupts(void)
/*
* Don't allow query cancel interrupts while reading input from the
* client, because we might lose sync in the FE/BE protocol. (Die
- * interrupts are OK, because we won't read any further messages from
- * the client in that case.)
+ * interrupts are OK, because we won't read any further messages from the
+ * client in that case.)
*/
if (QueryCancelPending && QueryCancelHoldoffCount != 0)
{
/*
- * Re-arm InterruptPending so that we process the cancel request
- * as soon as we're done reading the message.
+ * Re-arm InterruptPending so that we process the cancel request as
+ * soon as we're done reading the message.
*/
InterruptPending = true;
}
@@ -4494,10 +4494,10 @@ ShowUsage(const char *title)
appendStringInfo(&str,
"!\t%ld kB max resident size\n",
#if defined(__darwin__)
- /* in bytes on macOS */
- r.ru_maxrss/1024
+ /* in bytes on macOS */
+ r.ru_maxrss / 1024
#else
- /* in kilobytes on most other platforms */
+ /* in kilobytes on most other platforms */
r.ru_maxrss
#endif
);