php-src icon indicating copy to clipboard operation
php-src copied to clipboard

new parameter in pg_copy_from and pg_copy_to

Open dx689 opened this issue 4 years ago • 2 comments

Description

Hi everyone! I use function pg_copy_from and encountered with missing parameter which describing escape char. I need new parameter in pg_copy_from and pg_copy_to functions. Please, anybody, adding them to php-src/ext/pgsql/pgsql.c and (https://github.com/php/php-src/blob/master/ext/pgsql/pgsql.c#L3070) Described PG parameter is here - https://postgrespro.ru/docs/postgresql/11/sql-copy, named as ESCAPE.

dx689 avatar Jan 24 '22 11:01 dx689

@devnexen is this something that should be added?

Girgias avatar Jun 02 '24 16:06 Girgias

Sure seems a sensible thing to do.

devnexen avatar Jun 02 '24 16:06 devnexen