summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-09-19 11:36:53 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-09-19 11:36:53 -0400
commit89b5676b65b5f27fcab4f972390197983d7a9bfe (patch)
tree7a0362eb11b9fe71f03c8381a8ce1d1dc10eb421
parente0b0d1eab48c85f961a39c263d2074ad11931920 (diff)
Doc: fix typos.
"PGcon" should be "PGconn". Noted by D. Frey. Discussion: https://postgr.es/m/163191739352.4680.16994248583642672629@wrigleys.postgresql.org
-rw-r--r--doc/src/sgml/lobj.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml
index cf4653fe0f9..335145ac898 100644
--- a/doc/src/sgml/lobj.sgml
+++ b/doc/src/sgml/lobj.sgml
@@ -449,7 +449,7 @@ pg_int64 lo_tell64(PGconn *conn, int fd);
<indexterm><primary>lo_truncate</primary></indexterm>
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</parameter> to length <parameter>len</parameter>. The
@@ -477,7 +477,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