aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-06-08 11:59:34 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-06-08 11:59:34 -0400
commitbfeede9fa464ab707eb5ac5704742bf78bd7ac9e (patch)
tree798ad3820075befedd16ca0b6725fcb06e2f9de4 /contrib/postgres_fdw/postgres_fdw.c
parent37e1cce4ddf0be362e3093cee55493aee41bc423 (diff)
downloadpostgresql-bfeede9fa464ab707eb5ac5704742bf78bd7ac9e.tar.gz
postgresql-bfeede9fa464ab707eb5ac5704742bf78bd7ac9e.zip
Don't crash on empty statements in SQL-standard function bodies.
gram.y should discard NULL pointers (empty statements) when assembling a routine_body_stmt_list, as it does for other sorts of statement lists. Julien Rouhaud and Tom Lane, per report from Noah Misch. Discussion: https://postgr.es/m/20210606044418.GA297923@rfd.leadboat.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions