PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<pg_deletepg_escape_bytea>
Last updated: Mon, 16 Jul 2012

pg_end_copy

(PHP 4 >= 4.0.3, PHP 5)

pg_end_copy -- 与 PostgreSQL 后端同步

说明

bool pg_end_copy ( [resource connection] )

pg_end_copy() 在处理完 pg_put_line() 所执行的拷贝操作之后将 PostgreSQL 前端(通常为 web server 进程)与 PostgreSQL 服务器进行同步。pg_end_copy() 必须被调用,否则 PostgreSQL 服务器可能会和前端失去同步并报错。如果成功则返回 TRUE,失败则返回 FALSE

更多细节和例子参见 pg_put_line()




<pg_deletepg_escape_bytea>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST