Home
last modified time | relevance | path

Searched refs:PGSQL_DML_STRING (Results 1 – 16 of 16) sorted by relevance

/php-src/ext/pgsql/tests/
H A D14pg_update.phpt21 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
22 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D15pg_delete.phpt21 echo pg_delete($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
22 echo pg_delete($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D14pg_update_9.phpt28 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
29 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A Dpg_delete_001.phpt33 var_dump(pg_delete($conn, $table_name, array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
37 …(pg_delete($conn, "{$schema_name}.{$table_name}", array('id' => 2, 'id2' => 3), PGSQL_DML_STRING));
44 var_dump(pg_delete($conn, 'bar', array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
H A Dbug47199.phpt23 …$dbh, $tbl_name, array('null_field' => NULL,'not_null_field' => 2), PGSQL_DML_STRING|PGSQL_DML_EXE…
27 …ull_field' => 0), array('not_null_field' => 1, 'null_field' => ''), PGSQL_DML_STRING|PGSQL_DML_EXE…
H A Dpg_update_001.phpt26 var_dump(pg_update($conn, $table_name, array('id' => 10), array('id' => 1), PGSQL_DML_STRING));
29 …e($conn, "{$schema_name}.{$table_name}", array('id' => 100), array('id2' => 2), PGSQL_DML_STRING));
H A D12pg_insert.phpt20 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
H A D13pg_select.phpt22 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
H A D12pg_insert_9.phpt25 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
26 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A D13pg_select_9.phpt28 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
29 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
H A Dpg_insert_001.phpt24 …(pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
H A Dbug68638.phpt22 var_dump(pg_update($conn,$table, array('value' => 'inf'), array('id' => 1), PGSQL_DML_STRING));
/php-src/ext/pgsql/
H A Dphp_pgsql.h67 #define PGSQL_DML_STRING (1<<11) /* Return query string */ macro
H A Dpgsql.c5614 else if (opt & PGSQL_DML_STRING) { in php_pgsql_insert()
5620 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_insert()
5668 return_sql = option & PGSQL_DML_STRING; in PHP_FUNCTION()
5836 } else if (opt & PGSQL_DML_STRING) { in php_pgsql_update()
5843 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_update()
5893 if (option & PGSQL_DML_STRING) { in PHP_FUNCTION()
5937 } else if (opt & PGSQL_DML_STRING) { in php_pgsql_delete()
5943 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_delete()
5992 if (option & PGSQL_DML_STRING) { in PHP_FUNCTION()
6095 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_select()
[all …]
H A Dpgsql.stub.php434 const PGSQL_DML_STRING = UNKNOWN; define
H A Dpgsql_arginfo.h843 REGISTER_LONG_CONSTANT("PGSQL_DML_STRING", PGSQL_DML_STRING, CONST_PERSISTENT); in register_pgsql_symbols()

Completed in 29 milliseconds