Home
last modified time | relevance | path

Searched refs:pg_insert (Results 1 – 18 of 18) sorted by relevance

/PHP-8.1/ext/pgsql/tests/
H A Dbug77047.phpt2 Bug #77047 pg_insert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type
22 pg_insert($db, "bug77047", array("t" => "13:31"));
23 pg_insert($db, "bug77047", array("t" => "13:31:13"));
24 pg_insert($db, "bug77047", array("t" => "1:2:3"));
25 pg_insert($db, "bug77047", array("t" => "xyz"));
26 pg_insert($db, "bug77047", array("t" => NULL));
27 pg_insert($db, "bug77047", array("t" => ""));
36 Notice: pg_insert(): Expects NULL or string for PostgreSQL time field (t) in %s on line %d
H A D12pg_insert_9.phpt2 PostgreSQL pg_insert() (9.0+)
21 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
22 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
23 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
24 var_dump( pg_insert($db, $table_name, $fields, PGSQL_DML_EXEC) );
28 $converted = pg_insert($db, $table_name, [5 => 'AAA']);
33 $converted = pg_insert($db, $table_name, ['AAA']);
38 $converted = pg_insert($db, $table_name, ['num' => []]);
43 $converted = pg_insert($db, $table_name, ['num' => new stdClass()]);
48 $converted = pg_insert($db, $table_name, ['num' => $db]);
H A Dpg_insert_002.phpt2 PostgreSQL pg_insert() - test for CVE-2015-1532
16 var_dump(pg_insert($conn, $table, array('id' => 1, 'id2' => 1)));
24 pg_insert(): Argument #2 ($table_name) cannot be empty
26 Warning: pg_insert(): The table name must be specified in %s on line %d
29 Warning: pg_insert(): The table name must be specified in %s on line %d
H A Dpg_delete_001.phpt19 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
20 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
21 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 2));
22 pg_insert($conn, 'foo', array('id' => 3, 'id2' => 3));
24 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 1));
25 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
26 pg_insert($conn, 'phptests.foo', array('id' => 2, 'id2' => 3));
27 pg_insert($conn, 'phptests.foo', array('id' => 2, 'id2' => 3));
H A Dpg_insert_001.phpt18 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
20 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
22 var_dump(pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2), PGSQL_DML_STRING));
31 Warning: pg_insert(): Table 'foo' doesn't exists in %s on line %d
H A D12pg_insert.phpt2 PostgreSQL pg_insert()
19 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
20 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
H A Dbug68638.phpt18 pg_insert($conn,$table, array('id' => 1, 'value' => 1.2));
19 pg_insert($conn,$table, array('id' => 2, 'value' => 10));
20 pg_insert($conn,$table, array('id' => 3, 'value' => 15));
H A Dgh8253.phpt2 pg_insert() fails for references
20 pg_insert($db, "gh8253", $a);
H A D80_bug39971.phpt2 Bug #39971 (8.0+) (pg_insert/pg_update do not allow now() to be used for timestamp fields)
22 pg_insert($dbh, 'php_test', $values);
H A D80_bug42783.phpt2 Bug #42783 (pg_insert() does not support an empty value array)
21 pg_insert($dbh, 'php_test', array());
H A Dbug47199.phpt19 pg_insert($dbh, $tbl_name, array('null_field' => null, 'not_null_field' => 1));
20 pg_insert($dbh, $tbl_name, array('null_field' => null, 'not_null_field' => 2));
H A Dpg_update_001.phpt20 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1));
21 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
H A Dbug71998.phpt2 Bug #71998 Function pg_insert does not insert when column type = inet
60 $r = @pg_insert($db, 'tmp_statistics', $data);
H A D10pg_convert_json_array.phpt25 if (!pg_insert($db, $table_name_92, $fields)) {
/PHP-8.1/ext/pgsql/
H A Dpgsql_arginfo.h538 ZEND_FUNCTION(pg_insert);
655 ZEND_FE(pg_insert, arginfo_pg_insert)
H A Dpgsql.stub.php503 …function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = P… function
H A Dpgsql.c5417 PHP_FUNCTION(pg_insert) in PHP_FUNCTION() argument
/PHP-8.1/
H A DNEWS1385 . Fixed bug GH-8253 (pg_insert() fails for references). (cmb)

Completed in 40 milliseconds