Skip to content

tests to add #737

@pmp-p

Description

@pmp-p

Some tests that are needed to check regressions in compiler/libc from emsdk and wasi robustness


SELECT now(),* FROM pg_timezone_names WHERE name = current_setting('TIMEZONE')

expect 1 row on emsdk
expected to fail on : wasi


CREATE EXTENSION IF NOT EXISTS plpgsql;
CREATE OR REPLACE PROCEDURE raise_exception() LANGUAGE plpgsql AS $$
BEGIN
    RAISE 'exception';
END;
$$;

yield

CALL raise_exception();

expect wire exception on emsdk, wasi
expected to fail on : wasi-repl

Metadata

Metadata

Assignees

Labels

bug(compiler)emsdk/wasi-sdk compiler bug(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions