Skip to content

Commit e0d4a55

Browse files
committed
fix: update comment to reflect ProcessUtility hook implementation
1 parent b2480af commit e0d4a55

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

contrib/ivorysql_ora/expected/ora_dbms_output.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ NOTICE: Test 12.1 - Buffer recycling: PASSED
730730
-- Test 13.1: DISCARD ALL should clear DBMS_OUTPUT buffer
731731
-- This is important for connection pooling environments (e.g., PgBouncer)
732732
-- to prevent session state leakage between users.
733-
-- Note: DISCARD ALL calls ResetPackageCaches() which should clear DBMS_OUTPUT.
733+
-- Note: ivorysql_ora intercepts DISCARD ALL via ProcessUtility hook and calls ora_dbms_output_reset().
734734
--
735735
-- Test design: We check that after DISCARD ALL, the buffer is NULL (not just empty).
736736
-- If DISCARD ALL properly clears the buffer, get_line returns status=1.

contrib/ivorysql_ora/sql/ora_dbms_output.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ $$;
719719
-- Test 13.1: DISCARD ALL should clear DBMS_OUTPUT buffer
720720
-- This is important for connection pooling environments (e.g., PgBouncer)
721721
-- to prevent session state leakage between users.
722-
-- Note: DISCARD ALL calls ResetPackageCaches() which should clear DBMS_OUTPUT.
722+
-- Note: ivorysql_ora intercepts DISCARD ALL via ProcessUtility hook and calls ora_dbms_output_reset().
723723
--
724724
-- Test design: We check that after DISCARD ALL, the buffer is NULL (not just empty).
725725
-- If DISCARD ALL properly clears the buffer, get_line returns status=1.

0 commit comments

Comments
 (0)