File: bad_fun.sql

package info (click to toggle)
plr 1%3A8.4.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,180 kB
  • sloc: ansic: 4,741; sql: 640; sh: 357; makefile: 78; perl: 20
file content (9 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
-- should error out but should not crash PG
CREATE OR REPLACE
FUNCTION r_bad_fun()
RETURNS int4 AS
$BODY$
  deadbeef <- function(,bad) {}
  42
$BODY$
LANGUAGE plr;