|
|
|
Линтер-ВС 6.0 - загрузка BLOB
|
|||
|---|---|---|---|
|
#18+
Подскажите,пожалуйста, как загрузить файл в таблицу с BLOB полем. По примеру из документации на PostgreSQL применял в инсерте команду lo_import, но СУБД ругается на данную команду ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.02.2008, 15:15 |
|
||
|
Линтер-ВС 6.0 - загрузка BLOB
|
|||
|---|---|---|---|
|
#18+
Следовал примеру из help-a программы PGAdmin3: создал таблицу: CREATE TABLE image ( name text, raster oid ); попытался вставить запись: INSERT INTO image (name, raster) VALUES ('beautiful image', lo_import('/etc/motd')); получил следующее сообщение: ERROR: function lo_import("unknown") does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.02.2008, 21:27 |
|
||
|
|

start [/forum/topic.php?fid=56&msg=35125393&tid=2015989]: |
0ms |
get settings: |
8ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
49ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
| others: | 204ms |
| total: | 347ms |

| 0 / 0 |
