SQL function lo_unlink is not documented
| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | SQL function lo_unlink is not documented |
| Дата | |
| Msg-id | 200104210107.f3L17HI66397@hub.org обсуждение |
| Список | pgsql-bugs |
Michael Richards (michael@fastmail.ca) reports a bug with a severity of 4 The lower the number the more severe it is. Short Description SQL function lo_unlink is not documented Long Description http://postgresql.readysetnet.com/users-lounge/docs/7.1/programmer/lo-funcs.html Says: There are two built-in registered functions, lo_import and lo_export which are convenient for use in SQL queries. Here isan example of their use CREATE TABLE image ( name text, raster oid ); INSERT INTO image (name, raster) VALUES ('beautiful image', lo_import('/etc/motd')); SELECT lo_export(image.raster, '/tmp/motd') from image WHERE name = 'beautiful image'; This should also document the lo_unlink function as being able to remove these BLOBs is also supported. See below. Sample Code urdr=# select lo_unlink(6816289); lo_unlink ----------- 1 (1 row) No file was uploaded with this report
В списке pgsql-bugs по дате отправления: