Add truncate_sql to PostgreSQL
This commit is contained in:
parent
19653de764
commit
b500a46f9a
|
@ -747,6 +747,10 @@ AND typelem = 0"
|
|||
return rtrim($return, ';');
|
||||
}
|
||||
|
||||
function truncate_sql($table) {
|
||||
return "TRUNCATE " . table($table);
|
||||
}
|
||||
|
||||
function trigger_sql($table) {
|
||||
$status = table_status($table);
|
||||
$return = "";
|
||||
|
|
|
@ -5,6 +5,7 @@ PostgreSQL: Support binary files in bytea fields
|
|||
PostgreSQL: Cast to string when searching using LIKE (bug #325)
|
||||
PostgreSQL: Don't treat interval type as number (bug #474)
|
||||
PostgreSQL: Fix condition for selecting no rows
|
||||
PostgreSQL: Support TRUNCATE+INSERT export
|
||||
|
||||
Adminer 4.6.0 (released 2018-02-05):
|
||||
Fix counting selected rows after going back to select page
|
||||
|
|
Loading…
Reference in a new issue