postgres.git / summary / log / commit / refs
commit 61fb2b98f9df8bd770747b641d26615dc2d15cf8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun Sep 19 15:36:53 2021 +0000
First released in: 15.0, 9.6.24, 10.19, 11.14, 12.9, 13.5, 14.0
Doc: fix typos.
"PGcon" should be "PGconn". Noted by D. Frey.
Discussion: https://postgr.es/m/163191739352.4680.16994248583642672629@wrigleys.postgresql.org
doc/src/sgml/lobj.sgml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml
index 1e756870907..77b73b2a361 100644
--- a/doc/src/sgml/lobj.sgml
+++ b/doc/src/sgml/lobj.sgml
@@ -437,7 +437,7 @@ pg_int64 lo_tell64(PGconn *conn, int fd);
<indexterm><primary>lo_truncate</></>
To truncate a large object to a given length, call
<synopsis>
-int lo_truncate(PGcon *conn, int fd, size_t len);
+int lo_truncate(PGconn *conn, int fd, size_t len);
</synopsis>
This function truncates the large object
descriptor <parameter>fd</> to length <parameter>len</>. The
@@ -465,7 +465,7 @@ int lo_truncate(PGcon *conn, int fd, size_t len);
When dealing with large objects that might exceed 2GB in size,
instead use
<synopsis>
-int lo_truncate64(PGcon *conn, int fd, pg_int64 len);
+int lo_truncate64(PGconn *conn, int fd, pg_int64 len);
</synopsis>
This function has the same
behavior as <function>lo_truncate</function>, but it can accept a
[parent: 639d731acc2b]