| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Demote variable from global to local |
| Date: | 2019-12-16 17:24:37 |
| Message-ID: | E1igu6n-0007DK-6H@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Demote variable from global to local
recoveryDelayUntilTime was introduced by commit 36da3cfb457b as a global
because its method of operation was devilishly intrincate. Commit
c945af80cfda removed all that complexity and could have turned it into a
local variable, but didn't. Do so now.
Discussion: https://postgr.es/m/20191213200751.GA10731@alvherre.pgsql
Reviewed-by: Michaël Paquier, Daniel Gustafsson
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/91fca4bb60e8c00e8b0e2755555b39f4b1c1659c
Modified Files
--------------
src/backend/access/transam/xlog.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-12-16 20:11:16 | pgsql: On Windows, wait a little to see if ERROR_ACCESS_DENIED goes awa |
| Previous Message | Heikki Linnakangas | 2019-12-16 12:00:23 | pgsql: Fix yet another crash in page split during GiST index creation. |