1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

PostgreSQL: Shorten values in hstore columns

This commit is contained in:
Jakub Vrana
2025-06-25 18:39:32 +02:00
parent 5e9c185596
commit 4d75f822e9
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
- PostgreSQL: Add SQL operator to select
- PostgreSQL: Hide only partitions, not all inherited tables from menu
- PostgreSQL: Allow comparing json columns (bug #1107)
- PostgreSQL: Shorten values in hstore columns
- PostgreSQL 11-: Avoid duplicate oid in table status (bug #1089)
- Elasticsearch: Support dropping aliases
- Plugins: Methods processList() and killProcess()

View File

@@ -809,7 +809,7 @@ function is_url(?string $string): bool {
* @param Field $field
*/
function is_shortable(array $field): bool {
return preg_match('~char|text|json|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]);
return preg_match('~char|text|json|lob|geometry|point|linestring|polygon|string|bytea|hstore~', $field["type"]);
}
/** Get query to compute number of found rows