pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aleksander Alekseev <a.alekseev@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Clean up some misplaced #includes.
Date: Fri, 18 Mar 2016 21:47:42 +0300
Message-ID: <20160318214742.5472fa80@fujitsu> (raw)
In-Reply-To: <E1agyQt-0006JT-MS@gemulon.postgresql.org>
References: <E1agyQt-0006JT-MS@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

> Clean up some misplaced #includes.

In case you are interested here is a patch that fixes some unused
imports I managed to find.

-- 
Best regards,
Aleksander Alekseev
http://eax.me/

-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Attachments:

unused-imports.diff (text/x-patch, 2.0K) download diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index f70bb49..ceeb045 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -32,8 +32,6 @@ #include "access/twophase.h" #include "access/xact.h" #include "access/xlog_internal.h" -#include "access/xloginsert.h" -#include "access/xlogreader.h" #include "access/xlogutils.h" #include "catalog/catversion.h" #include "catalog/pg_control.h" @@ -46,31 +44,19 @@ #include "postmaster/startup.h" #include "replication/basebackup.h" #include "replication/logical.h" -#include "replication/slot.h" -#include "replication/origin.h" #include "replication/snapbuild.h" #include "replication/walreceiver.h" #include "replication/walsender.h" -#include "storage/barrier.h" -#include "storage/bufmgr.h" -#include "storage/fd.h" #include "storage/ipc.h" #include "storage/large_object.h" -#include "storage/latch.h" #include "storage/pmsignal.h" #include "storage/predicate.h" -#include "storage/proc.h" #include "storage/procarray.h" #include "storage/reinit.h" #include "storage/smgr.h" -#include "storage/spin.h" #include "utils/builtins.h" -#include "utils/guc.h" -#include "utils/memutils.h" #include "utils/ps_status.h" #include "utils/relmapper.h" -#include "utils/snapmgr.h" -#include "utils/timestamp.h" #include "pg_trace.h" extern uint32 bootstrap_data_checksum_version; diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c index e7826a4..d3fc910 100644 --- a/src/test/regress/regress.c +++ b/src/test/regress/regress.c @@ -16,12 +16,9 @@ #include "postgres.h" -#include <float.h> -#include <math.h> #include <signal.h> #include "access/htup_details.h" -#include "access/transam.h" #include "access/tuptoaster.h" #include "access/xact.h" #include "catalog/pg_type.h" @@ -30,7 +27,6 @@ #include "executor/executor.h" #include "executor/spi.h" #include "miscadmin.h" -#include "port/atomics.h" #include "utils/builtins.h" #include "utils/geo_decls.h" #include "utils/rel.h"

view thread (2+ messages)

Message-ID: <20160318214742.5472fa80@fujitsu>
Permalink:  ../20160318214742.5472fa80@fujitsu/
Also on:    postgresql.org/message-id/20160318214742.5472fa80@fujitsu

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: a.alekseev@postgrespro.ru, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Clean up some misplaced #includes.
  In-Reply-To: <20160318214742.5472fa80@fujitsu>
  References: <E1agyQt-0006JT-MS@gemulon.postgresql.org> <20160318214742.5472fa80@fujitsu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox