aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-06-22 07:28:47 +0000
committerNeil Conway <neilc@samurai.com>2005-06-22 07:28:47 +0000
commit738df437b277b0e5ed95e5a3bd3da9420839b9ec (patch)
treec28eb53263b53e28a6705e6a3945ba64c2bd2989 /src/bin/scripts/createlang.c
parent05db8b501b7807cf730a7c1b8a95d05ca694070b (diff)
downloadpostgresql-738df437b277b0e5ed95e5a3bd3da9420839b9ec.tar.gz
postgresql-738df437b277b0e5ed95e5a3bd3da9420839b9ec.zip
Fix bug in CONTINUE statement for PL/pgSQL: when we continue a loop,
we need to be careful to reset rc to PLPGSQL_RC_OK, depending on how the loop's logic is structured. If we continue a loop but it then exits without executing the loop's body again, we want to return PLPGSQL_RC_OK to our caller. Enhance the regression tests to catch this problem. Per report from Michael Fuhr.
Diffstat (limited to 'src/bin/scripts/createlang.c')
0 files changed, 0 insertions, 0 deletions