pg_put_line - Send a NULL-terminated string to PostgreSQL backend
- connection - PostgreSQL database connection resource. When connection is not present, the default connection is used. The default connection is the last connection made by pg_connect() or pg_pconnect().
- data - A line of text to be sent directly to the PostgreSQL backend. A NULLterminator is added automatically.
pg_put_line() sends a NULL-terminated string to the PostgreSQL backend server. This is needed in conjunction with PostgreSQL's COPY FROMcommand.
PHP 4.0.3, 5
Returns TRUE on success or FALSE on failure.