From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Move SPI error reporting out of ri_ReportViolation() |
Date: | 2017-10-05 02:15:35 |
Message-ID: | E1dzvhH-0006GT-FM@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Move SPI error reporting out of ri_ReportViolation()
These are two completely unrelated code paths, so it doesn't make sense
to pack them into one function.
Add attribute noreturn to ri_ReportViolation().
Reviewed-by: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/582bbcf37fb45ea2e6a851bf9a3c7d7364c7ad32
Modified Files
--------------
src/backend/utils/adt/ri_triggers.c | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-10-05 02:17:09 | Re: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple |
Previous Message | Wood, Dan | 2017-10-05 01:39:52 | Re: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple |