1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +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

@@ -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