mirror of
https://github.com/vrana/adminer.git
synced 2025-09-15 16:42:10 +02:00
PostgreSQL: Fix calling functions with name-less parameters
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
- PostgreSQL: Allow comparing json columns (bug #1107)
|
||||
- PostgreSQL: Shorten values in hstore columns
|
||||
- PostgreSQL: Quote edit value with interval operator
|
||||
- PostgreSQL: Fix calling functions with name-less parameters
|
||||
- PostgreSQL 11-: Avoid duplicate oid in table status (bug #1089)
|
||||
- Elasticsearch: Support dropping aliases
|
||||
- Plugins: Methods afterConnect(), processList() and killProcess()
|
||||
|
@@ -822,7 +822,7 @@ FROM information_schema.routines
|
||||
WHERE routine_schema = current_schema() AND specific_name = ' . q($name));
|
||||
$return = idx($rows, 0, array());
|
||||
$return["returns"] = array("type" => $return["type_udt_name"]);
|
||||
$return["fields"] = get_rows('SELECT parameter_name AS field, data_type AS type, character_maximum_length AS length, parameter_mode AS inout
|
||||
$return["fields"] = get_rows('SELECT COALESCE(parameter_name, ordinal_position::text) AS field, data_type AS type, character_maximum_length AS length, parameter_mode AS inout
|
||||
FROM information_schema.parameters
|
||||
WHERE specific_schema = current_schema() AND specific_name = ' . q($name) . '
|
||||
ORDER BY ordinal_position');
|
||||
|
Reference in New Issue
Block a user