PostgreSQL 常用函数

http://PHP.net/manual/zh/ref.pgsql.PHP





注释

Note:

Not all functions are supported by all builds. It depends on your libpq (The Postgresql C client library) version and how libpq is compiled. If PHP Postgresql extensions are missing,then it is because your libpq version does not support them.

Note:

Most Postgresql functions acceptconnectionas the optional first parameter. If it is not provided,the last opened connection is used. If it doesn't exist,functions returnFALSE.

Note:

Postgresql automatically folds all identifiers (e.g. table/column names) to lower-case values at object creation time and at query time. To force the use of mixed or upper case identifiers,you must escape the identifier using double quotes ("").

Note:

Postgresql does not have special commands for fetching database schema information (eg. all the tables in the current database). Instead,there is a standard schema namedinformation_schemain Postgresql 7.4 and above containing system views with all the necessary information,in an easily queryable form. See the»PostgreSQL Documentationfor full details.

Table of Contents

相关文章

项目需要,有个数据需要导入,拿到手一开始以为是mysql,结果...
本文小编为大家详细介绍“怎么查看PostgreSQL数据库中所有表...
错误现象问题原因这是在远程连接时pg_hba.conf文件没有配置正...
因本地资源有限,在公共测试环境搭建了PGsql环境,从数据库本...
wamp 环境 这个提示就是说你的版本低于10了。 先打印ph...
psycopg2.OperationalError: SSL SYSCALL error: EOF detect...