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

/PHP_5_3/ext/pgsql/
H A Dpgsql.c3749 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
3766 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
3769 if (!pg_delim) {
3770 pg_delim = "\t";
3780 spprintf(&query, 0, "COPY %s TO STDOUT DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, *pg_delim, pg_null_as);
3886 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
3899 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
3902 if (!pg_delim) {
3903 pg_delim = "\t";
3912 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_3/ext/pdo_pgsql/
H A Dpgsql_driver.c509 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
518 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) {
531 spprintf(&query, 0, "COPY %s (%s) FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, pg_fields, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
533 spprintf(&query, 0, "COPY %s FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
615 char *table_name, *filename, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
624 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) {
639 spprintf(&query, 0, "COPY %s (%s) FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, pg_fields, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
641 spprintf(&query, 0, "COPY %s FROM STDIN DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N"));
707 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL, *filename = NULL; local
718 &pg_delim,
796 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
[all...]

Completed in 16 milliseconds