位置: 编程技术 - 正文

PHP:pg_set_client_encoding()的用法_PostgreSQL函数

编辑:rootadmin
pg_set_client_encoding

推荐整理分享PHP:pg_set_client_encoding()的用法_PostgreSQL函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.0.3, PHP 5)

pg_set_client_encoding — 设定客户端编码

说明 int pg_set_client_encoding ([ resource $connection ], string $encoding )

pg_set_client_encoding() 设定客户端编码方式,成功返回 0,出错返回 -1。

PHP:pg_set_client_encoding()的用法_PostgreSQL函数

encoding 是客户端的编码方式,可以为:SQL_ASCII,EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATINX (X=1...9),KOI8,WIN,ALT,SJIS,BIG5,WIN。可用的编码取决于 PostgreSQL 和 libpq 的版本。参考 PostgreSQL 手册查看你的 PostgreSQL 所支持的编码方式。

Note:

本函数需要 PHP 4.0.3 或以上版本以及 PostgreSQL 7.0 或以上版本。所支持的编码方式取决于 PostgreSQL 的版本,详情参考 PostgreSQL 手册。

本函数以前的名字为 pg_setclientencoding()。

参见 pg_client_encoding()。

PHP:pg_send_query()的用法_PostgreSQL函数 pg_send_query(PHP4=4.2.0,PHP5)pg_send_query发送异步查询说明boolpg_send_query(resource$connection,string$query)boolpg_send_query(string$query)pg_send_query()向connection连接发送异步查

PHP:pg_send_query_params()的用法_PostgreSQL函数 pg_send_query_params(PHP5=5.1.0)pg_send_query_paramsSubmitsacommandandseparateparameterstotheserverwithoutwaitingfortheresult(s).说明boolpg_send_query_params(resource$connection,string$query,array$p

PHP:pg_send_prepare()的用法_PostgreSQL函数 pg_send_prepare(PHP5=5.1.0)pg_send_prepareSendsarequesttocreateapreparedstatementwiththegivenparameters,withoutwaitingforcompletion.说明boolpg_send_prepare(resource$connection,string$stmtname,string

本文链接地址:https://www.jiuchutong.com/biancheng/281444.html 转载请保留说明!

上一篇:Win7怎么取消非活动时以透明状态显示语言栏?(关闭非系统进程)

下一篇:PHP:pg_send_query()的用法_PostgreSQL函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络