Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1d729b

Browse files
committed
Improve description of loread/lowrite.
Patch by me, reviewed by Tatsuo Ishii.
1 parente262755 commitc1d729b

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

‎doc/src/sgml/lobj.sgml

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

528528
<para>
529529
There are server-side functions callable from SQL that correspond to
530-
each of the client-side functions described above(please note
531-
that the server side function
532-
for <function>lo_read</function> is <function>loread</function> and
533-
the server side function for <function>lo_write</function>
534-
is <function>lowrite</function>); indeed, for the most part the
535-
client-side functions are simply interfaces to the equivalent
536-
server-side functions. The ones that are actually useful to call
537-
via SQL commands are
530+
each of the client-side functions described above; indeed, for the
531+
most part the client-side functions are simply interfaces to the
532+
equivalent server-side functions. The ones that are actually useful
533+
to call via SQL commands are
538534
<function>lo_creat</function><indexterm><primary>lo_creat</></>,
539535
<function>lo_create</function><indexterm><primary>lo_create</></>,
540536
<function>lo_unlink</function><indexterm><primary>lo_unlink</></>,
@@ -576,6 +572,14 @@ SELECT lo_export(image.raster, '/tmp/motd') FROM image
576572
The client-side functions do not require superuser privilege.
577573
</para>
578574

575+
<para>
576+
The functionality of <function>lo_read</function> and
577+
<function>lo_write</function> is also available via server-side calls,
578+
but the names of the server-side functions differ from the client side
579+
interfaces in that they do not contain underscores. You must call
580+
these functions as <function>loread</> and <function>lowrite</>.
581+
</para>
582+
579583
</sect1>
580584

581585
<sect1 id="lo-examplesect">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp