doc: Fix incorrectly spelled structname
authorDaniel Gustafsson <[email protected]>
Thu, 2 May 2024 08:38:28 +0000 (10:38 +0200)
committerDaniel Gustafsson <[email protected]>
Thu, 2 May 2024 08:38:28 +0000 (10:38 +0200)
Commit 61461a300c1 accidentally misspelled the PGcancelConn struct
using the PQ prefix (which admittedly is a very easy typo to make).
Reported off-list.

Reported-by: Alexander Lakhin <[email protected]>
doc/src/sgml/libpq.sgml

index aed45f3428bd3ffaf1ecfff64d8f8cd869d4fbab..101c676e085eb4150b6b075ca2f7e88334903a99 100644 (file)
@@ -6517,7 +6517,7 @@ int PQcancelSocket(const PGcancelConn *cancelConn);
        A valid descriptor will be greater than or equal to 0;
        a result of -1 indicates that no server connection is currently open.
        This might change as a result of calling any of the functions
-       in this section on the <structname>PQcancelConn</structname>
+       in this section on the <structname>PGcancelConn</structname>
        (except for <xref linkend="libpq-PQcancelErrorMessage"/> and
        <function>PQcancelSocket</function> itself).
       </para>