Submitted by: PHP code exchange [email protected] To get this file, in the web-browser, save this file as 'Text' type as pgsql_largeobj.lib
PX: PHP Code Exchange - PostgreSQL large object access <? $database = pg_Connect ( "", "", "", "", "jacarta"); pg_exec ($database, "BEGIN"); $oid = pg_locreate ($database); echo ( "$oid\n"); $handle = pg_loopen ($database, $oid, "w"); echo ( "$handle\n"); pg_lowrite ($handle, "foo"); pg_loclose ($handle); pg_exec ($database, "COMMIT"); pg_close ($database); ?>
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |