pgsql: Fix inconsistencies in the code - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix inconsistencies in the code
Date
Msg-id E1hkL4F-0008PP-2w@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix inconsistencies in the code

This addresses a couple of issues in the code:
- Typos and inconsistencies in comments and function declarations.
- Removal of unreferenced function declarations.
- Removal of unnecessary compile flags.
- A cleanup error in regressplans.sh.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6b8548964bccd0f2e65c687d591b7345d5146bfa

Modified Files
--------------
contrib/cube/cube.c                          | 2 +-
doc/src/sgml/catalogs.sgml                   | 2 +-
doc/src/sgml/gist.sgml                       | 2 +-
src/backend/access/transam/multixact.c       | 8 +++++---
src/backend/catalog/aclchk.c                 | 2 +-
src/backend/catalog/namespace.c              | 6 +++---
src/backend/executor/README                  | 4 ++--
src/backend/executor/execScan.c              | 3 +--
src/backend/executor/execTuples.c            | 2 +-
src/backend/executor/nodeProjectSet.c        | 4 ++--
src/backend/executor/nodeRecursiveunion.c    | 4 ++--
src/backend/lib/dshash.c                     | 2 +-
src/backend/postmaster/autovacuum.c          | 2 +-
src/backend/replication/basebackup.c         | 2 +-
src/backend/storage/buffer/localbuf.c        | 2 +-
src/backend/storage/ipc/procarray.c          | 9 +++++----
src/backend/storage/lmgr/predicate.c         | 2 +-
src/backend/storage/smgr/md.c                | 3 ---
src/backend/utils/adt/tsrank.c               | 2 +-
src/backend/utils/misc/tzparser.c            | 3 +--
src/bin/pg_dump/pg_backup_db.c               | 2 +-
src/include/access/heapam.h                  | 2 +-
src/include/access/timeline.h                | 2 +-
src/include/executor/executor.h              | 2 +-
src/include/executor/tablefunc.h             | 6 +++---
src/include/nodes/execnodes.h                | 2 +-
src/include/partitioning/partprune.h         | 8 ++++----
src/include/port/atomics/generic-acc.h       | 2 +-
src/interfaces/ecpg/compatlib/exports.txt    | 2 +-
src/interfaces/ecpg/ecpglib/ecpglib_extern.h | 3 ---
src/interfaces/ecpg/ecpglib/execute.c        | 2 +-
src/interfaces/ecpg/include/ecpglib.h        | 2 --
src/interfaces/ecpg/preproc/Makefile         | 1 -
src/interfaces/ecpg/preproc/preproc_extern.h | 1 -
src/pl/plpgsql/src/pl_exec.c                 | 8 ++++----
src/test/regress/regressplans.sh             | 2 +-
src/tools/msvc/Mkvcbuild.pm                  | 1 -
37 files changed, 52 insertions(+), 62 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Use consistent style for checking return from system calls
Next
From: Michael Meskes
Date:
Subject: pgsql: Fix small memory leak in ecpglibecpg_update_declare_statement()