Product: Aqua Data Studio
Version: 18.0.0-devi-182
Build #: 50446
Build Date: 2016-Jul-10 09:50:39 PM
Operating Environment: Linux (4.4.0-28-generic, amd64) / UTF-8 / en / IN / Oracle Corporation 1.8.0_72-b15
Memory: Max=704,643,072; Total=523,763,712; Free=323,366,696; CPUs=8
Steps to reproduce the issue :
1. Connect to PostgreSQL Server.
2. Go to Function tree node of any Database.
3. Right click on it and Select "Create Function in Editor" option.
4. A Simple Create Function script is generated in Editor.
5. In Function body write SELECT * FROM and hit 'Ctrl+Space' after it.
Actual Result :
Auto Complete pop-up does not appears in editor after FROM.
Expected Result :
Auto Complete pop-up should appear after pressing 'Ctrl+Space'.
Observation :
1. This issue is also observed V17.
2. Auto Completion works correctly in Function Editor for "Oracle" and "MS SQL Server" databases. (Issue#159 in IDEA)
Please refer attached screen-shot "AutoCompletion in Function Editor.png" and "AutoCompletion in SQL Server.png".
@jenny: for which DBs do we support auto-completion in package / procedure editors?
For PostgreSQL, the syntax generated in the Function Editor is as follows:
CREATE FUNCTION "public"."fx_hello_world" (int, int) RETURNS bool AS ' BEGIN IF $1 = 1 THEN RETURN TRUE; ELSE RETURN FALSE; END IF; END ' LANGUAGE 'plpgsql'
SELECT * FROM ^
'SELECT * FROM ^'
For PostgreSQL, the syntax generated in the Function Editor is as follows:
CREATE FUNCTION "public"."fx_hello_world" (int, int) RETURNS bool AS ' BEGIN IF $1 = 1 THEN RETURN TRUE; ELSE RETURN FALSE; END IF; END ' LANGUAGE 'plpgsql'
SELECT * FROM ^
'SELECT * FROM ^'
Verified as per above explanation.So marking it 'Closed'.
Verified as per above explanation.So marking it 'Closed'.
Issue #14539 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
@jenny: for which DBs do we support auto-completion in package / procedure editors?