Lines Matching refs:table_name
15 $table_name = "table_13pg_select_9";
18 pg_query($db, "CREATE TABLE {$table_name} (num int, str text, bin bytea)");
19 pg_query($db, "INSERT INTO {$table_name} VALUES(1234, 'AAA', 'BBB')");
20 pg_query($db, "INSERT INTO {$table_name} VALUES(1234, 'AAA', 'BBB')");
26 $res = pg_select($db, $table_name, $ids) or print "Error\n";
28 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
29 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
33 $converted = pg_select($db, $table_name, [5 => 'AAA']);
38 $converted = pg_select($db, $table_name, ['AAA']);
43 $converted = pg_select($db, $table_name, ['num' => []]);
48 $converted = pg_select($db, $table_name, ['num' => new stdClass()]);
53 $converted = pg_select($db, $table_name, ['num' => $db]);
65 $table_name = "table_13pg_select_9";
68 pg_query($db, "DROP TABLE IF EXISTS {$table_name}");