Home
last modified time | relevance | path

Searched refs:table_name (Results 1 – 25 of 88) sorted by last modified time

1234

/PHP-5.5/ext/pgsql/tests/
H A Dconfig.inc9 $table_name = "php_pgsql_test"; // test table that should be exist
H A D9999dropdb.phpt12 pg_query($db, "DROP TABLE ".$table_name);
H A D01createdb.phpt12 if (!@pg_num_rows(@pg_query($db, "SELECT * FROM ".$table_name)))
16 pg_query($db,"INSERT INTO ".$table_name." VALUES ($i, 'ABC');");
H A D03sync_query.phpt12 $result = pg_query($db, "SELECT * FROM ".$table_name.";");
55 pg_num_rows(pg_query($db, "SELECT * FROM ".$table_name.";"));
56 pg_num_fields(pg_query($db, "SELECT * FROM ".$table_name.";"));
64 $result = pg_query($db, "INSERT INTO ".$table_name." VALUES (9999, 'ABC');");
H A D04async_query.phpt12 if (!pg_send_query($db, "SELECT * FROM ".$table_name.";")) {
44 pg_num_rows(pg_query($db, "SELECT * FROM ".$table_name.";"));
45 pg_num_fields(pg_query($db, "SELECT * FROM ".$table_name.";"));
53 if (!pg_send_query($db, "INSERT INTO ".$table_name." VALUES (8888, 'GGG');"))
H A D08escape.phpt46 pg_query("DELETE FROM ".$table_name." WHERE num = -9999;");
47 $sql = "INSERT INTO ".$table_name." (num, bin) VALUES (-9999, CAST ('".$escaped_data."' AS BYTEA));…
52 $sql = "SELECT bin::bytea FROM ".$table_name." WHERE num = -9999";
H A D10pg_convert.phpt17 $converted = pg_convert($db, $table_name, $fields);
H A D10pg_convert_9.phpt18 $converted = pg_convert($db, $table_name, $fields);
H A D11pg_meta_data.phpt13 $meta = pg_meta_data($db, $table_name);
H A D12pg_insert.phpt17 pg_insert($db, $table_name, $fields) or print "Error in test 1\n";
18 echo pg_insert($db, $table_name, $fields, PGSQL_DML_STRING)."\n";
H A D12pg_insert_9.phpt19 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 D13pg_select_9.phpt20 $res = pg_select($db, $table_name, $ids) or print "Error\n";
22 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
H A D14pg_update.phpt18 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n";
19 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
H A D14pg_update_9.phpt20 pg_update($db, $table_name, $fields, $ids) or print "Error in test 1\n";
21 echo pg_update($db, $table_name, $fields, $ids, PGSQL_DML_STRING)."\n";
H A D15pg_delete.phpt15 if (!pg_delete($db, $table_name, $ids)) {
H A D17result.phpt13 $sql = "SELECT * FROM $table_name";
H A D18pg_escape_bytea_before.phpt17 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, E\''.$esc_image.'\');');
18 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D18pg_escape_bytea_esc.phpt17 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
18 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D18pg_escape_bytea_hex.phpt20 pg_query($db, 'INSERT INTO '.$table_name.' (num, bin) VALUES (9876, \''.$esc_image.'\');');
21 $result = pg_query($db, 'SELECT * FROM '.$table_name.' WHERE num = 9876');
H A D25async_query_params.phpt17 if (!pg_send_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100))) {
48 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
49 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
57 …if (!pg_send_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'BC…
H A D26async_query_prepared.phpt17 if (!pg_send_prepare($db, 'php_test', "SELECT * FROM ".$table_name." WHERE num > \$1;")) {
62 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
63 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
71 if (!pg_send_prepare($db, "php_test2", "INSERT INTO ".$table_name." VALUES (\$1, \$2);"))
H A D22pg_fetch_object.phpt19 $sql = "SELECT * FROM $table_name WHERE num = 0";
H A D23sync_query_params.phpt17 $result = pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100));
40 pg_num_rows(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
41 pg_num_fields(pg_query_params($db, "SELECT * FROM ".$table_name." WHERE num > \$1;", array(100)));
49 …$result = pg_query_params($db, "INSERT INTO ".$table_name." VALUES (\$1, \$2);", array(9999, "A'BC…
/PHP-5.5/ext/pgsql/
H A Dpgsql.c402 ZEND_ARG_INFO(0, table_name)
409 ZEND_ARG_INFO(0, table_name)
2299 char *table_name; local
2366 new_field_table.ptr = estrdup(table_name);
2371 RETURN_STRING(table_name, 1);
3890 &pgsql_link, &table_name, &table_name_len,
5116 if (!*table_name) {
5121 src = estrdup(table_name);
5208 char *table_name; local
5436 if (!table_name) {
[all …]
H A Dphp_pgsql.h201 PHP_PGSQL_API int php_pgsql_meta_data(PGconn *pg_link, const char *table_name, zval *meta TSRMLS_DC…
202 PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval *values, zv…

Completed in 75 milliseconds

1234