mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Add truncate_sql to PostgreSQL
This commit is contained in:
@@ -747,6 +747,10 @@ AND typelem = 0"
|
|||||||
return rtrim($return, ';');
|
return rtrim($return, ';');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function truncate_sql($table) {
|
||||||
|
return "TRUNCATE " . table($table);
|
||||||
|
}
|
||||||
|
|
||||||
function trigger_sql($table) {
|
function trigger_sql($table) {
|
||||||
$status = table_status($table);
|
$status = table_status($table);
|
||||||
$return = "";
|
$return = "";
|
||||||
|
@@ -5,6 +5,7 @@ PostgreSQL: Support binary files in bytea fields
|
|||||||
PostgreSQL: Cast to string when searching using LIKE (bug #325)
|
PostgreSQL: Cast to string when searching using LIKE (bug #325)
|
||||||
PostgreSQL: Don't treat interval type as number (bug #474)
|
PostgreSQL: Don't treat interval type as number (bug #474)
|
||||||
PostgreSQL: Fix condition for selecting no rows
|
PostgreSQL: Fix condition for selecting no rows
|
||||||
|
PostgreSQL: Support TRUNCATE+INSERT export
|
||||||
|
|
||||||
Adminer 4.6.0 (released 2018-02-05):
|
Adminer 4.6.0 (released 2018-02-05):
|
||||||
Fix counting selected rows after going back to select page
|
Fix counting selected rows after going back to select page
|
||||||
|
Reference in New Issue
Block a user