Home
last modified time | relevance | path

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

/php-src/ext/pgsql/tests/
H A Dbug77047.phpt2 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 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) 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 D12pg_insert_9.phpt2 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 Dpg_delete_001.phpt21 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 Dbug71998.phpt2 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 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 Dpg_insert_001.phpt20 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 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, $table_name, $a);
H A D80_bug39971.phpt2 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 D80_bug42783.phpt2 Bug #42783 (pg_insert() does not support an empty value array)
22 pg_insert($dbh, $table_name, array());
H A Dbug47199.phpt18 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 Dpg_update_001.phpt22 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 D10pg_convert_json_array.phpt27 if (!pg_insert($db, $table_name_92, $fields)) {
/php-src/ext/pgsql/
H A Dpgsql.stub.php940 …function pg_insert(PgSql\Connection $connection, string $table_name, array $values, int $flags = P… function
H A Dpgsql_arginfo.h593 ZEND_FUNCTION(pg_insert);
724 ZEND_FE(pg_insert, arginfo_pg_insert)
H A Dpgsql.c5631 PHP_FUNCTION(pg_insert) in PHP_FUNCTION() argument

Completed in 37 milliseconds