From: | "George Weaver" <gweaver(at)shaw(dot)ca> |
---|---|
To: | "pgsql-general" <pgsql-general(at)postgresql(dot)org> |
Subject: | Server side large object functions |
Date: | 2008-12-18 15:58:05 |
Message-ID: | FF2AB17A15534B4E896554DE5E7D2976@d800 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-general |
Hi,
The PostgreSQL manual indicates that:
"There are server-side functions callable from SQL that correspond to each
of the client-side functions described above."
In psql I can get the argument data types for lo_open:
development=# \df+ lo_open
List of functions
Schema | Name | Result data type | Argument data types | Volatility
| O
wner | Language | Source code | Description
------------+---------+------------------+---------------------+------------+---
-------+----------+-------------+-------------------
pg_catalog | lo_open | integer | oid, integer | volatile
| po
stgres | internal | lo_open | large object open
(1 row)
But if I try to find the same for lo_read I get:
development=# \df+ lo_read
List of functions
Schema | Name | Result data type | Argument data types | Volatility | Owner
| L
anguage | Source code | Description
--------+------+------------------+---------------------+------------+-------+--
--------+-------------+-------------
(0 rows)
Is there not a server side function for lo_read? If so, how do I determine
the argument types?
My objective it to read a large object into memory as opposed to exporting
it to a disk file.
I'm using version 8.3.3, psqlODBC 8.2.2 and vb.net.
Thanks,
George
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-12-18 16:02:07 | Re: Server side large object functions |
Previous Message | Alvaro Herrera | 2008-12-17 15:20:38 | Re: [ADMIN] shared_buffers and shmmax |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-12-18 16:02:07 | Re: Server side large object functions |
Previous Message | gerhard | 2008-12-18 14:53:11 | Re: DELETE running at snail-speed |