PostgreSQL: Display definitions of materialized views (bug #682)
This commit is contained in:
parent
36e9a4d6e1
commit
45caae1660
|
@ -438,9 +438,7 @@ ORDER BY conkey, conname") as $row) {
|
||||||
|
|
||||||
function view($name) {
|
function view($name) {
|
||||||
global $connection;
|
global $connection;
|
||||||
return array("select" => trim($connection->result("SELECT view_definition
|
return array("select" => trim($connection->result("SELECT pg_get_viewdef(" . $connection->result("SELECT oid FROM pg_class WHERE relname = " . q($name)) . ")")));
|
||||||
FROM information_schema.views
|
|
||||||
WHERE table_schema = current_schema() AND table_name = " . q($name))));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function collations() {
|
function collations() {
|
||||||
|
|
|
@ -7,6 +7,7 @@ MySQL: Fix displaying multi-columns foreign keys (bug #675)
|
||||||
MySQL: Fix creating users and changing password in MySQL 8 (bug #663)
|
MySQL: Fix creating users and changing password in MySQL 8 (bug #663)
|
||||||
MySQL: Pass SRID to GeomFromText
|
MySQL: Pass SRID to GeomFromText
|
||||||
PostgreSQL: Fix setting column comments on new table
|
PostgreSQL: Fix setting column comments on new table
|
||||||
|
PostgreSQL: Display definitions of materialized views (bug #682)
|
||||||
MS SQL: Support comments
|
MS SQL: Support comments
|
||||||
Elasticsearch: Fix setting number of rows
|
Elasticsearch: Fix setting number of rows
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue