**SQL Navigator 6.2.0.1500
Formatting time increases exponentially along with number of parameters in function.
Try to format following package:**
CREATE OR REPLACE
PACKAGE test_pkg
AS
FUNCTION test_funct
(
pi_1 IN PLS_INTEGER DEFAULT NULL,
pi_2 IN PLS_INTEGER,
pi_3 IN PLS_INTEGER)
RETURN INTEGER RESULT_CACHE;
END test_pkg;
/
Everything seems ok but try to add more parameters to function.
Every one additional parameter formatting time increases dramatically.
Formatting package like this one:
CREATE OR REPLACE
PACKAGE test_pkg
AS
FUNCTION test_funct
(
pi_1 IN PLS_INTEGER DEFAULT NULL,
pi_2 IN PLS_INTEGER,
pi_3 IN PLS_INTEGER,
pi_4 IN PLS_INTEGER DEFAULT NULL,
pi_5 IN PLS_INTEGER DEFAULT NULL,
pi_6 IN PLS_INTEGER DEFAULT NULL,
pi_7 IN PLS_INTEGER DEFAULT NULL,
pi_8 IN PLS_INTEGER DEFAULT NULL,
pi_9 IN PLS_INTEGER DEFAULT NULL,
pi_10 IN PLS_INTEGER DEFAULT NULL,
pi_11 IN PLS_INTEGER DEFAULT NULL,
pi_12 IN PLS_INTEGER DEFAULT NULL,
pi_13 IN PLS_INTEGER DEFAULT NULL,
pi_14 IN PLS_INTEGER DEFAULT NULL,
pi_15 IN PLS_INTEGER DEFAULT NULL,
pi_16 IN PLS_INTEGER DEFAULT NULL,
pi_17 IN PLS_INTEGER DEFAULT NULL,
pi_18 IN PLS_INTEGER DEFAULT NULL,
pi_19 IN PLS_INTEGER DEFAULT NULL,
pi_20 IN PLS_INTEGER DEFAULT NULL,
pi_21 IN PLS_INTEGER DEFAULT NULL,
pi_22 IN PLS_INTEGER DEFAULT NULL,
pi_23 IN PLS_INTEGER DEFAULT NULL,
pv_24 IN VARCHAR2 DEFAULT NULL,
pi_25 IN INTEGER,
pi_26 IN PLS_INTEGER DEFAULT NULL,
pbol_27 IN BOOLEAN DEFAULT NULL,
pv_28 IN VARCHAR2 DEFAULT ‘ALL’)
RETURN INTEGER RESULT_CACHE;
END test_pkg;
/
hangs SQL Navigator.
Message was edited by: fordmtonly_656