diff options
| author | Robert Haas <rhaas@postgresql.org> | 2013-06-12 12:20:59 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2013-06-12 12:24:32 -0400 |
| commit | 6803921b545bdae678bb381d5b04f4f6ae24d1b5 (patch) | |
| tree | 2248158d4b35271b69526986d683a131ce951953 /doc/src | |
| parent | ca97a8dff5c947b5bebb9efe999f75ca236931e9 (diff) | |
Improve description of loread/lowrite.
Patch by me, reviewed by Tatsuo Ishii.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/lobj.sgml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml index d033ef96a8a..cc3cf7f6275 100644 --- a/doc/src/sgml/lobj.sgml +++ b/doc/src/sgml/lobj.sgml @@ -411,14 +411,10 @@ int lo_unlink(PGconn *conn, Oid lobjId); <para> There are server-side functions callable from SQL that correspond to - each of the client-side functions described above(please note - that the server side function - for <function>lo_read</function> is <function>loread</function> and - the server side function for <function>lo_write</function> - is <function>lowrite</function>); indeed, for the most part the - client-side functions are simply interfaces to the equivalent - server-side functions. The ones that are actually useful to call - via SQL commands are + each of the client-side functions described above; indeed, for the + most part the client-side functions are simply interfaces to the + equivalent server-side functions. The ones that are actually useful + to call via SQL commands are <function>lo_creat</function><indexterm><primary>lo_creat</></>, <function>lo_create</function><indexterm><primary>lo_create</></>, <function>lo_unlink</function><indexterm><primary>lo_unlink</></>, @@ -460,6 +456,14 @@ SELECT lo_export(image.raster, '/tmp/motd') FROM image The client-side functions do not require superuser privilege. </para> + <para> + The functionality of <function>lo_read</function> and + <function>lo_write</function> is also available via server-side calls, + but the names of the server-side functions differ from the client side + interfaces in that they do not contain underscores. You must call + these functions as <function>loread</> and <function>lowrite</>. + </para> + </sect1> <sect1 id="lo-examplesect"> |
