]> granicus.if.org Git - postgresql/commit
Avoid code duplication in \crosstabview.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Apr 2016 15:37:58 +0000 (11:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Apr 2016 15:37:58 +0000 (11:37 -0400)
commit9603a32594d2f5e6d9a1f098bc554a68f44ccb3c
treeedff5a29faf3ea1bf72f676cf0c82ec4afb84cf0
parent4039c736eb0955cb1daf88e211f105dbbb78f7ea
Avoid code duplication in \crosstabview.

In commit 6f0d6a507 I added a duplicate copy of psqlscanslash's identifier
downcasing code, but actually it's not hard to split that out as a callable
subroutine and avoid the duplication.
src/bin/psql/crosstabview.c
src/bin/psql/psqlscanslash.h
src/bin/psql/psqlscanslash.l