diff options
| author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:17:28 +0200 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:17:28 +0200 |
| commit | 37c329d7153b65fd2430fa42e8af8e8a0cbc0a41 (patch) | |
| tree | 7041c722228f74286b96c50fc834652f0c29156f /ext/pgsql/mysql_users.php | |
| parent | 6c2c7dabee006fa735307d92bb223a1fa3d47414 (diff) | |
| download | php-git-37c329d7153b65fd2430fa42e8af8e8a0cbc0a41.tar.gz | |
Trim trailing whitespace in source code files
Diffstat (limited to 'ext/pgsql/mysql_users.php')
| -rw-r--r-- | ext/pgsql/mysql_users.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/pgsql/mysql_users.php b/ext/pgsql/mysql_users.php index edfaa1cddc..44d4f1b66d 100644 --- a/ext/pgsql/mysql_users.php +++ b/ext/pgsql/mysql_users.php @@ -2,7 +2,7 @@ /* * File: mysql_users.php * Author: Yasuo Ohgaki <yohgaki@php.net> - * + * * This file contains example user defined functions that does * similar to MySQL functions. They can be implemented as module * functions, but there won't be many users need them. @@ -12,11 +12,11 @@ /* * mysql_list_dbs() - * - * This function should be needed, since PostgreSQL connection + * + * This function should be needed, since PostgreSQL connection * binds database. */ -function pg_list_dbs($db) +function pg_list_dbs($db) { assert(is_resource($db)); $query = ' @@ -24,7 +24,7 @@ SELECT d.datname as "Name", u.usename as "Owner", pg_encoding_to_char(d.encoding) as "Encoding" -FROM +FROM pg_database d LEFT JOIN pg_user u ON d.datdba = u.usesysid ORDER BY 1; '; @@ -35,7 +35,7 @@ ORDER BY 1; /* * mysql_list_tables() */ -function pg_list_tables($db) +function pg_list_tables($db) { assert(is_resource($db)); $query = " @@ -58,7 +58,7 @@ ORDER BY 1; * * See also pg_meta_data(). It returns field definition as array. */ -function pg_list_fields($db, $table) +function pg_list_fields($db, $table) { assert(is_resource($db)); $query = " |
