/php-src/ext/pgsql/tests/ |
H A D | bug77047.phpt | 2 Bug #77047 pg_insert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type 23 pg_insert($db, $table_name, array("t" => "13:31")); 27 pg_insert($db, $table_name, array("t" => "13:31:13")); 28 pg_insert($db, $table_name, array("t" => "1:2:3")); 30 pg_insert($db, $table_name, array("t" => "xyz")); 34 pg_insert($db, $table_name, array("t" => NULL)); 35 pg_insert($db, $table_name, array("t" => "")); 52 pg_insert(): Field "t" must be of type string|null, time given
|
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) must not be empty 25 pg_insert(): Argument #2 ($table_name) must be specified (.) 26 pg_insert(): Argument #2 ($table_name) must be specified (..)
|
H A D | 12pg_insert_9.phpt | 2 PostgreSQL pg_insert() (9.0+) 24 pg_insert($db, $table_name, $fields) or print "Error in test 1\n"; 25 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"; 27 var_dump( pg_insert($db, $table_name, $fields, PGSQL_DML_EXEC) ); 31 $converted = pg_insert($db, $table_name, [5 => 'AAA']); 36 $converted = pg_insert($db, $table_name, ['AAA']); 41 $converted = pg_insert($db, $table_name, ['num' => []]); 46 $converted = pg_insert($db, $table_name, ['num' => new stdClass()]); 51 $converted = pg_insert($db, $table_name, ['num' => $db]);
|
H A D | pg_delete_001.phpt | 21 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 1)); 22 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 2)); 23 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 2)); 24 pg_insert($conn, $table_name, array('id' => 3, 'id2' => 3)); 26 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 1)); 27 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 2)); 28 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 2, 'id2' => 3)); 29 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 2, 'id2' => 3));
|
H A D | bug71998.phpt | 2 Bug #71998 Function pg_insert does not insert when column type = inet 63 @pg_insert($db, $table_name, $data); 97 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "256.257.258.259" giv… 98 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "fe08::7:8interface" … 99 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "schnitzel" given 100 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "10002.3.4" given 101 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "1.2.3.4.5" given 102 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "256.0.0.0" given 103 pg_insert(): Field "remote_addr" must be a valid IPv4 or IPv6 address string, "260.0.0.0" given
|
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 | pg_insert_001.phpt | 20 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 1)); 22 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 2)); 24 var_dump(pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 2), PGSQL_DML_S… 40 Warning: pg_insert(): Table 'table_pg_insert_001' doesn't exists in %s on line %d
|
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, $table_name, $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) 20 pg_insert($dbh, $table_name, $values);
|
H A D | 80_bug42783.phpt | 2 Bug #42783 (pg_insert() does not support an empty value array) 22 pg_insert($dbh, $table_name, array());
|
H A D | bug47199.phpt | 18 pg_insert($dbh, $tbl_name, array('null_field' => null, 'not_null_field' => 1)); 19 pg_insert($dbh, $tbl_name, array('null_field' => null, 'not_null_field' => 2));
|
H A D | pg_update_001.phpt | 22 pg_insert($conn, $table_name, array('id' => 1, 'id2' => 1)); 23 pg_insert($conn, "{$schema_name}.{$table_name}", array('id' => 1, 'id2' => 2));
|
H A D | 10pg_convert_json_array.phpt | 27 if (!pg_insert($db, $table_name_92, $fields)) {
|
/php-src/ext/pgsql/ |
H A D | pgsql.stub.php | 940 …function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = P… function
|
H A D | pgsql_arginfo.h | 593 ZEND_FUNCTION(pg_insert); 724 ZEND_FE(pg_insert, arginfo_pg_insert)
|
H A D | pgsql.c | 5631 PHP_FUNCTION(pg_insert) in PHP_FUNCTION() argument
|