pgsql: Remove unused code in ECPG.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused code in ECPG.
Date: 2018-11-13 18:04:23
Message-ID: E1gMd31-0006dh-Ns@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-11-13 19:54:48 pgsql: Fix realfailN lexer rules to not make assumptions about input fo
Previous Message Tom Lane 2018-11-13 14:39:45 Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.