Lines Matching refs:oid
14 $oid = pg_lo_create ($db);
15 if (!$oid) echo ("pg_lo_create() error\n");
16 $handle = pg_lo_open ($db, $oid, "w");
24 $handle = pg_lo_open ($db, $oid, "w");
33 $handle = pg_lo_open ($db, $oid, "w");
41 pg_lo_unlink($db, $oid) or print("pg_lo_unlink() error 1\n");
47 $oid = pg_lo_create ($db) or print("pg_lo_create() error\n");
48 pg_lo_unlink($oid) or print("pg_lo_unlink() error 2\n");
51 echo "Test with string oid value\n";
53 $oid = pg_lo_create ($db) or print("pg_lo_create() error\n");
54 pg_lo_unlink($db, (string)$oid) or print("pg_lo_unlink() error 3\n");
60 $oid = pg_lo_import($db, $path . 'php.gif');
64 pg_lo_export($oid, $path . 'php.gif.exported', $db);
80 Test with string oid value