mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-08 14:07:38 +08:00
Add test cases for inline handler of plython2u (when using that language name), and for result object element assignment. There is now at least one test case for every top-level functionality, except plpy.Fatal (annoying to use in regression tests) and result object slice retrieval and slice assignment (which are somewhat broken).
6 lines
168 B
SQL
6 lines
168 B
SQL
DO $$ plpy.notice("This is plpythonu.") $$ LANGUAGE plpythonu;
|
|
|
|
DO $$ plpy.notice("This is plpython2u.") $$ LANGUAGE plpython2u;
|
|
|
|
DO $$ nonsense $$ LANGUAGE plpythonu;
|