| От | Tom Lane |
|---|---|
| Тема | Re: large objects in 7.3 |
| Дата | |
| Msg-id | 20357.1051281648@sss.pgh.pa.us обсуждение |
| Ответ на | large objects in 7.3 ("Dick Wieland" <dick.wieland@wiline.com>) |
| Список | pgsql-novice |
"Dick Wieland" <dick.wieland@wiline.com> writes:
> another question is . how does one use \lo_import in psql?
See the psql man page, about halfway down --- the \lo_xxx commands are
in alphabetical order along with the other backslash commands, under
the heading "Meta-Commands".
> and finally
> the test program does not run on a remote database.
It would if you ran it as postgres superuser ;-). But realistically you
probably want to import/export files to your own filesystem, not the
server's filesystem. For this you want client-side operations ---
either psql's \lo_xxx commands, or the libpq large-object functions they
are built upon.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера