Fix crash when trying to display a NOTIFY rule action.
Tom Lane <tgl@sss.pgh.pa.us>
Fix crash when trying to display a NOTIFY rule action. Fixes oversight in commit 2ffa740be9d96a3743ecb7e42391c53d0760c65a. Per report from Josh Kupershmidt. I think we've broken this case before, so let's add a regression test this time.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ruleutils.c | modified | +12 −7 |
| src/test/regress/expected/rules.out | modified | +4 −0 |
| src/test/regress/sql/rules.sql | modified | +1 −0 |