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

/PHP_5_6/ext/pgsql/
H A Dpgsql.c4026 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
4043 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
4046 if (!pg_delim) {
4047 pg_delim = "\t";
4057 spprintf(&query, 0, "COPY %s TO STDOUT DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, *pg_delim, pg_null_as);
4163 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
4176 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
4179 if (!pg_delim) {
4180 pg_delim = "\t";
4189 spprintf(&query, 0, "COPY %s FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, *pg_delim, pg_null_a
[all...]
/PHP_5_6/ext/pdo_pgsql/
H A Dpgsql_driver.c518 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
527 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) {
542 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"));
544 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"));
630 char *table_name, *filename, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
639 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) {
657 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"));
659 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"));
729 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL, *filename = NULL; local
740 &pg_delim,
824 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
[all...]

Completed in 11 milliseconds