成人精品一区二区三区中文字幕-成人精品一区二区三区-成人精品一级毛片-成人精品亚洲-日本在线视频一区二区-日本在线视频免费

導航首頁 ? 技術教程 ? PHP:pg_version()的用法_PostgreSQL函數
全站頭部文字 我要出現在這里
PHP:pg_version()的用法_PostgreSQL函數 720 2023-12-12   

pg_version

(PHP 5)

pg_version — Returns an array with client, protocol and server version (when available)

說明

array pg_version ([ resource $connection ] )

pg_version() returns an array with the client, protocol and server version. Protocol and server versions are only available if PHP was compiled with PostgreSQL 7.4 or later.

For more detailed server information, use pg_parameter_status().

參數

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().

返回值

Returns an array with client, protocol and server keys and values (if available). Returns FALSE on error or invalid connection.

范例

Example #1 pg_version() example

<?php
  $dbconn = pg_connect("host=localhost port=5432 dbname=mary")
     or die("Could not connect");
     
  $v = pg_version($dbconn);
  
  echo $v['client'];
?>

以上例程會輸出:

7.4

參見

pg_parameter_status() - Looks up a current parameter setting of the server.


主站蜘蛛池模板: 黄视频在线网站| 蒋锐| 七年级地理课时练电子版 | 《女夜》电影在线观看| 周星驰的全部电影免费观看 | jar of love完整版| 让雷诺阿| 什么水果是热性的| 吕建民| 王家卫作品| 《禁忌4》| 白雪公主在线| 雌雄同体seoⅹ另类| 爱情天梯| 听风者电视剧演员表| 恐龙图片大全大图| 与妻书 电影| 罗丽·星克莱尔性迷宫| 冲出堕落城完整高清版| 02j331| 十里承欢电影版免费播放| 平型关大捷纪念馆| 布莱克·莱弗利身高体重| 南贤俊| 故都的秋ppt| 礼佛三拜正确动作视频| 卓安律师事务所| 纪念碑谷3| 挠丝袜| 王瑞儿视频| 下载抖音正版| 香港之夜在线观看完整版| 燕赵刑警演员表| 风俗通| 每天一分钱每天翻一倍连续30天| 纽约巨人| 老友记 第一季 1994 詹妮弗·安妮斯顿 | www.五月天| 乔什布洛林| 梦的衣裳| 雀圣 电影|

!!!站長長期在線接!!!

網站、小程序:定制開發/二次開發/仿制開發等

各種疑難雜癥解決/定制接口/定制采集等

站長微信:lxwl520520

站長QQ:1737366103