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

/PHP_TRUNK/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, &pg_delim_len, &pg_null_as,
824 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; local
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c4024 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
4041 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
4050 if (!pg_null_as) {
4051 pg_null_as = safe_estrdup("\\\\N");
4055 spprintf(&query, 0, "COPY %s TO STDOUT DELIMITERS E'%c' WITH NULL AS E'%s'", table_name, *pg_delim, pg_null_as);
4062 efree(pg_null_as);
4161 char *table_name, *pg_delim = NULL, *pg_null_as = NULL; local
4174 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len) == FAILURE) {
4180 if (!pg_null_as) {
4181 pg_null_as
[all...]

Completed in 11 milliseconds