-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesttranspilerTranspiling of Oracle PL/SQL to PL/pgSQL codeTranspiling of Oracle PL/SQL to PL/pgSQL code
Description
Oracle provides the DBMS_OUTPUT.PUT_LINE procedure, allowing users to write a line to the buffer.
Goal
Implement the new CYAR rule that transpiles DBMS_OUTPUT.PUT_LINE usages with RAISE NOTICE.
Example
-- Oracle
DBMS_OUTPUT.PUT_LINE('foo');
DBMS_OUTPUT.PUT_LINE(rpad('Product Name', 51) || 'Demand Status');-- PostgreSQL
RAISE NOTICE '%', 'foo';
RAISE NOTICE '%', rpad('Product Name', 51) || 'Demand Status';How to demo
At least one Rust unit test exists demo-ing the rule functionality.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttranspilerTranspiling of Oracle PL/SQL to PL/pgSQL codeTranspiling of Oracle PL/SQL to PL/pgSQL code