pgsql: Remove unused code in ECPG. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove unused code in ECPG.
Date
Msg-id E1gMd31-0006dh-Ns@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove unused code in ECPG.

scanner_init/scanner_finish weren't actually called from anywhere,
and the scanbuf variables they set up weren't used either.

Remove unused declaration for mm_realloc, too.

John Naylor

Discussion: https://postgr.es/m/CAJVSVGWGqY9YBs2EwtRUkbNv=hXkN8yRPOoD1wxE6COgvvrz5g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4766bcd9e292befba403619c8a57b3528ad3bd4b

Modified Files
--------------
src/interfaces/ecpg/preproc/extern.h |  4 +---
src/interfaces/ecpg/preproc/pgc.l    | 45 +-----------------------------------
2 files changed, 2 insertions(+), 47 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix realfailN lexer rules to not make assumptions about inputfo