From e343dfa42bff35983c582da3916b205763aeac90 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 22 Nov 2016 19:57:45 -0500 Subject: Remove barrier.h A new thing also called a "barrier" is proposed, but whether we decide to take that patch or not, this file seems to have outlived its usefulness. Thomas Munro --- src/include/pgstat.h | 2 +- src/include/storage/barrier.h | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 src/include/storage/barrier.h (limited to 'src/include') diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 4e8dac63ed7..0b85b7ad3ae 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -14,9 +14,9 @@ #include "datatype/timestamp.h" #include "fmgr.h" #include "libpq/pqcomm.h" +#include "port/atomics.h" #include "portability/instr_time.h" #include "postmaster/pgarch.h" -#include "storage/barrier.h" #include "storage/proc.h" #include "utils/hsearch.h" #include "utils/relcache.h" diff --git a/src/include/storage/barrier.h b/src/include/storage/barrier.h deleted file mode 100644 index 6202e576080..00000000000 --- a/src/include/storage/barrier.h +++ /dev/null @@ -1,23 +0,0 @@ -/*------------------------------------------------------------------------- - * - * barrier.h - * Memory barrier operations. - * - * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * - * src/include/storage/barrier.h - * - *------------------------------------------------------------------------- - */ -#ifndef BARRIER_H -#define BARRIER_H - -/* - * This used to be a separate file, full of compiler/architecture - * dependent defines, but it's not included in the atomics.h - * infrastructure and just kept for backward compatibility. - */ -#include "port/atomics.h" - -#endif /* BARRIER_H */ -- cgit v1.2.3