Hi,
attoptcache.h currently uses #ifndef SPCCACHE_H. The attached patch
fixes that.
A quick
$ grep -r '\#ifndef' src/include/|grep _H|awk '{print $2}'|sort|uniq -cd
doesn't show any further duplicated ones.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
>From 9e71d51d750a0097795b3cf295be7ed84b7a4d53 Mon Sep 17 00:00:00 2001
From: Andres Freund <[email protected]>
Date: Sat, 6 Jul 2013 12:09:32 +0200
Subject: [PATCH] Fix copy & pasted include guard name in attoptcache.h
---
src/include/utils/attoptcache.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/include/utils/attoptcache.h b/src/include/utils/attoptcache.h
index e1c4ab4..133a075 100644
--- a/src/include/utils/attoptcache.h
+++ b/src/include/utils/attoptcache.h
@@ -10,8 +10,8 @@
*
*-------------------------------------------------------------------------
*/
-#ifndef SPCCACHE_H
-#define SPCCACHE_H
+#ifndef ATTOPTCACHE_H
+#define ATTOPTCACHE_H
/*
* Attribute options.
@@ -25,4 +25,4 @@ typedef struct AttributeOpts
AttributeOpts *get_attribute_options(Oid spcid, int attnum);
-#endif /* SPCCACHE_H */
+#endif /* ATTOPTCACHE_H */
--
1.8.3.251.g1462b67
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers