{ "scalar-return-arith": " r \n----\n 11\n(1 row)", "interp-return-value": " r \n---------------\n Hello, World!\n(1 row)", "if-elsif-else": " r \n---\n B\n(1 row)", "unless-block-and-eq": " r \n--------\n denied\n(1 row)", "unless-modifier-neq": " r \n-------\n empty\n(1 row)", "for-next-break": " r \n----\n 25\n(1 row)", "each-exclusive-range": " r \n----\n 10\n(1 row)", "ternary-return": " r \n-----\n neg\n(1 row)", "raise-notice-interp": "NOTICE: processing id 7 at 50%done\n r \n----\n 70\n(1 row)", "raise-exception-errcode": "ERROR: negative: -3\nCONTEXT: PL/pgSQL function plx_checkpos(integer) line 4 at RAISE", "annotation-numeric": " r \n-----------------\n interest: 50.00\n(1 row)", "decl-infer-multi": " r \n----------------------\n count=42 active=true\n(1 row)", "until-loop": " r \n----\n 10\n(1 row)", "setof-emit": " idx | label \n-----+-------\n 1 | row1\n 2 | row2\n 3 | row3\n(3 rows)", "begin-rescue": "NOTICE: caught: division by zero\n r \n----\n -1\n(1 row)", "query-for-sum": " c1 \n----\n 60\n(1 row)", "fetch-one-row": " c2 \n-----\n Bob\n(1 row)", "perform-dml-and-rowreturning": " c4 \n----\n \n(1 row)\n\n n \n---\n 6\n(1 row)", "execute-dynamic-interp-using": " c5 \n----\n \n(1 row)\n\n msg \n-------\n hello\n(1 row)", "setof-emit-returns-table": " cust_id | total \n---------+-------\n 1 | 20\n 2 | 40\n 3 | 60\n(3 rows)", "setof-return-next-expr": " c7 \n----\n 1\n 4\n 9\n(3 rows)", "return-query-static": " c8 \n----\n 1\n 2\n 3\n(3 rows)", "record-field-subscript-normalize": "NOTICE: user 1: Alice\nNOTICE: user 2: Bob\nNOTICE: user 3: Carol\n c9 \n----\n \n(1 row)", "begin-rescue-unique-violation": "NOTICE: dup 1: duplicate key value violates unique constraint \"uniq_pkey\"\n c10 \n-----\n f\n(1 row)\n\n c10 \n-----\n t\n(1 row)", "begin-rescue-ensure-doublenest": " c11 \n-----\n \n(1 row)\n\n x \n---\n 5\n(1 row)\n\n msg \n------\n done\n(1 row)", "for-int-next-if-modifier": " c12 \n-----\n 12\n(1 row)", "if-elsif-else-operators": " a | b | c \n---+---+---\n A | B | F\n(1 row)", "until-loop-break-if-compound": " c14 \n-----\n 5\n(1 row)", "raise-notice-percent-ternary": "NOTICE: 50% checkpoint at 30 (partial)\n c15 \n---------\n partial\n(1 row)", "each-with-index": "NOTICE: 0: Alice\nNOTICE: 1: Bob\nNOTICE: 2: Carol\n c16 \n-----\n \n(1 row)", "reject-case-when": "ERROR: plruby: case/when is not supported (out of the M3 subset)", "reject-nested-def": "ERROR: plruby: 'def' (nested function definition) is not supported", "reject-uninferable-local": "ERROR: plruby: cannot infer a PostgreSQL type for local variable \"label\" (first assigned at line 1); add an annotation, e.g. label = ... #:: text" }