Searched defs:pg_delim (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c532 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
541 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) {
556 spprintf(&query, 0, "COPY %s (%s) FROM STDIN WITH DELIMITER E'%c' NULL AS E'%s'", table_name, pg_fields, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
558 spprintf(&query, 0, "COPY %s FROM STDIN WITH DELIMITER E'%c' NULL AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
641 char *table_name, *filename, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
650 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) {
668 spprintf(&query, 0, "COPY %s (%s) FROM STDIN WITH DELIMITER E'%c' NULL AS E'%s'", table_name, pg_fields, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
670 spprintf(&query, 0, "COPY %s FROM STDIN WITH DELIMITER E'%c' NULL AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
740 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL, *filename = NULL; local
751 &pg_delim,
835 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c4018 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
4035 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
4038 if (!pg_delim) {
4039 pg_delim = "\t";
4049 spprintf(&query, 0, "COPY %s TO STDOUT DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, *pg_delim, pg_null_as);
4155 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
4167 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
4170 if (!pg_delim) {
4171 pg_delim = "\t";
4180 spprintf(&query, 0, "COPY %s FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, *pg_delim, pg_null_a
[all...]

Completed in 11 milliseconds