pg_put_line

(PHP 4 >= 4.0.3)

pg_put_line -- Send a NULL-terminated string to PostgreSQL backend

Description

bool pg_put_line ( [resource connection, string data])

pg_put_line() sends a NULL-terminated string
to the PostgreSQL backend server. This is useful for example for
very high-speed inserting of data into a table, initiated by
starting a PostgreSQL copy-operation. That final NULL-character
is added automatically. Возвращает TRUE в случае успешного завершения, FALSE в случае возникновения ошибки.

Замечание:
The application must explicitly send the two characters "\."
on the last line to indicate to the backend that it has finished
sending its data.