Home
last modified time | relevance | path

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

/php-src/ext/pdo_pgsql/
H A Dpgsql_driver.c653 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; in pgsqlCopyFromArray_internal() local
665 Z_PARAM_STRING(pg_null_as, pg_null_as_len) in pgsqlCopyFromArray_internal()
677 …AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N")); in pgsqlCopyFromArray_internal()
773 char *table_name, *filename, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; in pgsqlCopyFromFile_internal() local
782 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) { in pgsqlCopyFromFile_internal()
875 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL, *filename = NULL; in pgsqlCopyToFile_internal() local
886 … &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) { in pgsqlCopyToFile_internal()
911 …AS E'%s'", table_name, (pg_delim_len ? *pg_delim : '\t'), (pg_null_as_len ? pg_null_as : "\\\\N")); in pgsqlCopyToFile_internal()
975 char *table_name, *pg_delim = NULL, *pg_null_as = NULL, *pg_fields = NULL; in pgsqlCopyToArray_internal() local
984 &pg_delim, &pg_delim_len, &pg_null_as, &pg_null_as_len, &pg_fields, &pg_fields_len) == FAILURE) { in pgsqlCopyToArray_internal()
[all …]
/php-src/ext/pgsql/
H A Dpgsql.c3297 char *pg_null_as = NULL; in PHP_FUNCTION() local
3311 Z_PARAM_STRING(pg_null_as, pg_null_as_len) in PHP_FUNCTION()
3324 if (!pg_null_as) { in PHP_FUNCTION()
3325 pg_null_as = estrdup("\\\\N"); in PHP_FUNCTION()
3329 … STDOUT DELIMITER E'%c' NULL AS E'%s'", ZSTR_VAL(table_name), *ZSTR_VAL(pg_delimiter), pg_null_as); in PHP_FUNCTION()
3336 efree(pg_null_as); in PHP_FUNCTION()
3419 char *pg_null_as = NULL; in PHP_FUNCTION() local
3433 Z_PARAM_STRING(pg_null_as, pg_null_as_len) in PHP_FUNCTION()
3446 if (!pg_null_as) { in PHP_FUNCTION()
3447 pg_null_as = estrdup("\\\\N"); in PHP_FUNCTION()
[all …]

Completed in 18 milliseconds