PostgreSQL: Support exporting views
This commit is contained in:
parent
0293613c21
commit
ad16cb8581
|
@ -711,6 +711,10 @@ AND typelem = 0"
|
||||||
$sequences = array();
|
$sequences = array();
|
||||||
|
|
||||||
$status = table_status($table);
|
$status = table_status($table);
|
||||||
|
if (is_view($status)) {
|
||||||
|
$view = view($table);
|
||||||
|
return rtrim("CREATE VIEW " . idf_escape($table) . " AS $view[select]", ";");
|
||||||
|
}
|
||||||
$fields = fields($table);
|
$fields = fields($table);
|
||||||
$indexes = indexes($table);
|
$indexes = indexes($table);
|
||||||
ksort($indexes);
|
ksort($indexes);
|
||||||
|
|
|
@ -4,6 +4,7 @@ Fix clicking on non-input fields in alter table (regression from 4.6.2)
|
||||||
Display time of procedure execution
|
Display time of procedure execution
|
||||||
Disallow connecting to ports > 65535 (bug #730)
|
Disallow connecting to ports > 65535 (bug #730)
|
||||||
MySQL: Always set foreign_key_checks in export
|
MySQL: Always set foreign_key_checks in export
|
||||||
|
PostgreSQL: Support exporting views
|
||||||
Editor: Fix focusing foreign key search in select
|
Editor: Fix focusing foreign key search in select
|
||||||
|
|
||||||
Adminer 4.7.5 (released 2019-11-13):
|
Adminer 4.7.5 (released 2019-11-13):
|
||||||
|
|
Loading…
Reference in a new issue