Skip to content

Commit 0da76f3

Browse files
committed
Improve description of loread/lowrite.
Patch by me, reviewed by Tatsuo Ishii.
1 parent f5ef162 commit 0da76f3

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

doc/src/sgml/lobj.sgml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -396,14 +396,10 @@ int lo_unlink(PGconn *conn, Oid lobjId);
396396

397397
<para>
398398
There are server-side functions callable from SQL that correspond to
399-
each of the client-side functions described above(please note
400-
that the server side function
401-
for <function>lo_read</function> is <function>loread</function> and
402-
the server side function for <function>lo_write</function>
403-
is <function>lowrite</function>); indeed, for the most part the
404-
client-side functions are simply interfaces to the equivalent
405-
server-side functions. The ones that are actually useful to call
406-
via SQL commands are
399+
each of the client-side functions described above; indeed, for the
400+
most part the client-side functions are simply interfaces to the
401+
equivalent server-side functions. The ones that are actually useful
402+
to call via SQL commands are
407403
<function>lo_creat</function><indexterm><primary>lo_creat</></>,
408404
<function>lo_create</function><indexterm><primary>lo_create</></>,
409405
<function>lo_unlink</function><indexterm><primary>lo_unlink</></>,
@@ -445,6 +441,15 @@ SELECT lo_export(image.raster, '/tmp/motd') FROM image
445441
The client-side functions can be used by any
446442
<productname>PostgreSQL</productname> user.
447443
</para>
444+
445+
<para>
446+
The functionality of <function>lo_read</function> and
447+
<function>lo_write</function> is also available via server-side calls,
448+
but the names of the server-side functions differ from the client side
449+
interfaces in that they do not contain underscores. You must call
450+
these functions as <function>loread</> and <function>lowrite</>.
451+
</para>
452+
448453
</sect1>
449454

450455
<sect1 id="lo-examplesect">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy