pgsql: Minor code beautification in regexp.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Minor code beautification in regexp.c.
Date: 2020-01-16 16:31:34
Message-ID: E1is83S-0000Pf-MD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Minor code beautification in regexp.c.

Remove duplicated code (apparently introduced by commit c8ea87e4b).
Also get rid of some PG_USED_FOR_ASSERTS_ONLY variables we don't
really need to have.

Li Japin, Tom Lane

Discussion: https://postgr.es/m/PS1PR0601MB3770A5595B6E5E3FD6F35724B6360@PS1PR0601MB3770.apcprd06.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0db7c67051806f28a9129d50695efc19372d3af2

Modified Files
--------------
src/backend/utils/adt/regexp.c | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2020-01-16 17:13:01 pgsql: Fix problems with "read only query" checks, and refactor the cod
Previous Message Amit Kapila 2020-01-16 02:15:07 Re: src/test/recovery regression failure on bionic