pljs icon indicating copy to clipboard operation
pljs copied to clipboard

test `inline` failed

Open tbussmann opened this issue 1 year ago • 0 comments

When running the tests of 0.8.0 (21f2297) built against QuickJS 2024-01-13 with PostgresSQL 16.2, the test 13 (inline) fails:

# using postmaster on Unix socket, default port
ok 1         - init-extension                             66 ms
ok 2         - function                                   12 ms
ok 3         - json                                       11 ms
ok 4         - jsonb                                      10 ms
ok 5         - json_conv                                   8 ms
ok 6         - types                                      11 ms
ok 7         - bytea                                      12 ms
ok 8         - context                                    12 ms
ok 9         - cursor                                     10 ms
ok 10        - array_spread                             1365 ms
ok 11        - plv8_regressions                           10 ms
ok 12        - memory_limits                             186 ms
not ok 13    - inline                                      7 ms
ok 14        - composites                                  8 ms
1..14
# 1 of 14 tests failed.
# The differences that caused some tests to fail can be viewed in the file "/Users/quickfix/Documents/_git/PostgresApp/src-16/pljs-0.8.0/regression.diffs".
# A copy of the test summary that you see above is saved in the file "/Users/quickfix/Documents/_git/PostgresApp/src-16/pljs-0.8.0/regression.out".
diff -U3 /Users/quickfix/Documents/_git/PostgresApp/src-16/pljs-0.8.0/expected/inline.out /Users/quickfix/Documents/_git/PostgresApp/src-16/pljs-0.8.0/results/inline.out
--- /Users/quickfix/Documents/_git/PostgresApp/src-16/pljs-0.8.0/expected/inline.out	2023-10-04 13:53:31.000000000 +0200
+++ /Users/quickfix/Documents/_git/PostgresApp/src-16/pljs-0.8.0/results/inline.out	2024-03-13 18:14:05.000000000 +0100
@@ -1,3 +1,8 @@
 DO $$ pljs.elog(NOTICE, 'this', 'is', 'inline', 'code') $$ LANGUAGE pljs;
 NOTICE:  this is inline code
 DO $$ pljs.return_next(new Object());$$ LANGUAGE pljs;
+ERROR:  execution error
+DETAIL:  TypeError: not a function
+    at <anonymous> (<function>:2)
+    at <eval> (<function>:3)
+

tbussmann avatar Mar 13 '24 17:03 tbussmann