diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 21195e0e72..0bbb84744e 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -5813,28 +5813,28 @@ int PQpipelineSync(PGconn *conn);
PQsendFlushRequestPQsendFlushRequest
-
-
- Sends a request for the server to flush its output buffer.
+
+
+ Sends a request for the server to flush its output buffer.
int PQsendFlushRequest(PGconn *conn);
-
+
-
- Returns 1 for success. Returns 0 on any failure.
-
-
- The server flushes its output buffer automatically as a result of
- PQpipelineSync being called, or
- on any request when not in pipeline mode; this function is useful
- to cause the server to flush its output buffer in pipeline mode
- without establishing a synchronization point.
- Note that the request is not itself flushed to the server automatically;
- use PQflush if necessary.
-
-
-
+
+ Returns 1 for success. Returns 0 on any failure.
+
+
+ The server flushes its output buffer automatically as a result of
+ PQpipelineSync being called, or
+ on any request when not in pipeline mode; this function is useful
+ to cause the server to flush its output buffer in pipeline mode
+ without establishing a synchronization point.
+ Note that the request is not itself flushed to the server automatically;
+ use PQflush if necessary.
+
+
+
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
index 106d14e6ee..e1768d5475 100644
--- a/src/interfaces/libpq/fe-exec.c
+++ b/src/interfaces/libpq/fe-exec.c
@@ -3235,7 +3235,7 @@ pqPipelineProcessQueue(PGconn *conn)
* error, a PGresult with PGRES_PIPELINE_SYNC is produced.
*
* Queries can already have been sent before PQpipelineSync is called, but
- * PQpipelineSync need to be called before retrieving command results.
+ * PQpipelineSync needs to be called before retrieving command results.
*
* The connection will remain in pipeline mode and unavailable for new
* synchronous command execution functions until all results from the pipeline