mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
Add truncate_sql to PostgreSQL
This commit is contained in:
@@ -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 = "";
|
||||
|
Reference in New Issue
Block a user