/PHP-8.1/ext/pgsql/tests/ |
H A D | bug77047.phpt | 2 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 D | 12pg_insert_9.phpt | 2 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 D | pg_insert_002.phpt | 2 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 D | pg_delete_001.phpt | 19 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 D | pg_insert_001.phpt | 18 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 D | 12pg_insert.phpt | 2 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 D | bug68638.phpt | 18 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 D | gh8253.phpt | 2 pg_insert() fails for references 20 pg_insert($db, "gh8253", $a);
|
H A D | 80_bug39971.phpt | 2 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 D | 80_bug42783.phpt | 2 Bug #42783 (pg_insert() does not support an empty value array) 21 pg_insert($dbh, 'php_test', array());
|
H A D | bug47199.phpt | 19 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 D | pg_update_001.phpt | 20 pg_insert($conn, 'foo', array('id' => 1, 'id2' => 1)); 21 pg_insert($conn, 'phptests.foo', array('id' => 1, 'id2' => 2));
|
H A D | bug71998.phpt | 2 Bug #71998 Function pg_insert does not insert when column type = inet 60 $r = @pg_insert($db, 'tmp_statistics', $data);
|
H A D | 10pg_convert_json_array.phpt | 25 if (!pg_insert($db, $table_name_92, $fields)) {
|
/PHP-8.1/ext/pgsql/ |
H A D | pgsql_arginfo.h | 538 ZEND_FUNCTION(pg_insert); 655 ZEND_FE(pg_insert, arginfo_pg_insert)
|
H A D | pgsql.stub.php | 503 …function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = P… function
|
H A D | pgsql.c | 5417 PHP_FUNCTION(pg_insert) in PHP_FUNCTION() argument
|
/PHP-8.1/ |
H A D | NEWS | 1411 . Fixed bug GH-8253 (pg_insert() fails for references). (cmb)
|