Skip to content

Commit e12cd16

Browse files
authored
Update custom_scan_function.sql
Got it. Thanks!
1 parent d39b268 commit e12cd16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/custom_scan_function.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ BEGIN
9090
parm1 := TRIM(SUBSTR(fdecl, pos, POSITION(')' IN fdecl) - pos + 1));
9191
-- RETURN NEXT (ts , concat('#### ', fdecl )); -- Really Just Debug!
9292
BEGIN
93-
SELECT TO_REGPROC(fname)::oid INTO foid; -- This function will not throw an exception, just returns NULL
93+
foid := TO_REGPROC(fname)::oid; -- This function will not throw an exception, just returns NULL
9494
-- REPLACES the error block
95-
IF (foid IS NULL) THEN
95+
IF foid IS NULL THEN
9696
check_msg := '#### Either No Such function or No Paramters!';
9797
RETURN NEXT;
9898
CONTINUE;

0 commit comments

Comments
 (0)