Remove unused code in ECPG.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4766bcd9e292befba403619c8a57b3528ad3bd4b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-11-13T18:04:15Z
Releases: 12.0
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

Files

PathChange+/−
src/interfaces/ecpg/preproc/extern.h modified +1 −3
src/interfaces/ecpg/preproc/pgc.l modified +1 −44

Discussion