Lines Matching refs:table_name
15 $table_name = "table_12pg_insert_9";
18 pg_query($db, "CREATE TABLE {$table_name} (num int, str text, bin bytea)");
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]);
62 $table_name = "table_12pg_insert_9";
65 pg_query($db, "DROP TABLE IF EXISTS {$table_name}");