pgsql: Remove vestigial CHECK_FOR_INTERRUPTS call.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove vestigial CHECK_FOR_INTERRUPTS call.
Date: 2016-01-07 16:27:00
Message-ID: E1aHDOu-0006UH-Oj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove vestigial CHECK_FOR_INTERRUPTS call.

Commit e710b65c inserted code in md5_crypt_verify to disable and later
re-enable interrupts, with a CHECK_FOR_INTERRUPTS call as part of the
second step, to process any interrupts that had been held off. Commit
6647248e removed the interrupt disable/re-enable code, but left behind
the CHECK_FOR_INTERRUPTS, even though this is now an entirely random,
pointless place for one. md5_crypt_verify doesn't run long enough to
need such a check, and if it did, this would still be the wrong place
to put one.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6b1a837f69d00d265bee4b57ba2d320f1463f131

Modified Files
--------------
src/backend/libpq/crypt.c | 2 --
1 file changed, 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-01-07 19:36:55 pgsql: pgstat: add WAL receiver status view & SRF
Previous Message Tom Lane 2016-01-07 16:19:39 pgsql: Provide more detail in postmaster log for password authenticatio