PostgreSQL: Allow editing views with uppercase letters (bug #467)
This commit is contained in:
parent
1f21cd4329
commit
78f0a1152e
|
@ -360,7 +360,9 @@ ORDER BY conkey, conname") as $row) {
|
||||||
|
|
||||||
function view($name) {
|
function view($name) {
|
||||||
global $connection;
|
global $connection;
|
||||||
return array("select" => trim($connection->result("SELECT pg_get_viewdef(" . q($name) . ")")));
|
return array("select" => trim($connection->result("SELECT view_definition
|
||||||
|
FROM information_schema.views
|
||||||
|
WHERE table_schema = current_schema() AND table_name = " . q($name))));
|
||||||
}
|
}
|
||||||
|
|
||||||
function collations() {
|
function collations() {
|
||||||
|
|
|
@ -3,6 +3,7 @@ Fix counting selected rows after going back to select page
|
||||||
PHP <5.3 compatibility even with Elasticsearch enabled
|
PHP <5.3 compatibility even with Elasticsearch enabled
|
||||||
MariaDB: Support JSON since MariaDB 10.2
|
MariaDB: Support JSON since MariaDB 10.2
|
||||||
PostgreSQL: Support functions
|
PostgreSQL: Support functions
|
||||||
|
PostgreSQL: Allow editing views with uppercase letters (bug #467)
|
||||||
SimpleDB: Document that allow_url_fopen is required
|
SimpleDB: Document that allow_url_fopen is required
|
||||||
Malay translation
|
Malay translation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue