Manuál PHP | ||
---|---|---|
Předcházející | Další |
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. Vrací TRUE při úspěchu, FALSE při selhání.
Poznámka: The application must explicitly send the two characters "\." on the last line to indicate to the backend that it has finished sending its data.
Varování |
Use of the pg_put_line() causes most large object operations, including pg_lo_read() and pg_lo_tell(), to subsequently fail. You can use pg_copy_from() and pg_copy_to() instead. |
See also pg_end_copy().
Předcházející | Domů | Další |
pg_port | Nahoru | pg_query |