Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f0cd764

Browse files
committed
Add #include code to prevent multiple inclusion.
1 parent 97c3fcd commit f0cd764

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

contrib/btree_gist/btree_gist.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef __BTREE_GIST_H__
2+
#define __BTREE_GIST_H__
3+
14
#include "postgres.h"
25
#include "access/gist.h"
36
#include "access/itup.h"
@@ -37,3 +40,5 @@ enum gbtree_type
3740
Datum gbtreekey_in(PG_FUNCTION_ARGS);
3841

3942
Datum gbtreekey_out(PG_FUNCTION_ARGS);
43+
44+
#endif

contrib/btree_gist/btree_utils_num.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef __BTREE_UTILS_NUM_H__
2+
#define __BTREE_UTILS_NUM_H__
3+
14
#include "btree_gist.h"
25

36
typedef char GBT_NUMKEY;
@@ -101,3 +104,5 @@ extern bool gbt_num_same(const GBT_NUMKEY * a, const GBT_NUMKEY * b,
101104

102105
extern void gbt_num_bin_union(Datum *u, GBT_NUMKEY * e,
103106
const gbtree_ninfo * tinfo);
107+
108+
#endif

contrib/btree_gist/btree_utils_var.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef __BTREE_UTILS_VAR_H__
2+
#define __BTREE_UTILS_VAR_H__
3+
14
#include "mb/pg_wchar.h"
25

36
#include "btree_gist.h"
@@ -70,3 +73,5 @@ extern GIST_SPLITVEC *gbt_var_picksplit(const GistEntryVector *entryvec, GIST_SP
7073
const gbtree_vinfo * tinfo);
7174
extern void gbt_var_bin_union(Datum *u, GBT_VARKEY * e,
7275
const gbtree_vinfo * tinfo);
76+
77+
#endif

doc/src/sgml/ref/grant.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.55 2006/07/10 16:48:46 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.56 2006/07/10 21:03:58 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -272,9 +272,10 @@ GRANT <replaceable class="PARAMETER">role</replaceable> [, ...]
272272
of privilege that is applicable to procedural languages.
273273
</para>
274274
<para>
275-
For schemas, allows the grantee to find objects contained in the
276-
specified schema (assuming that the objects' own privilege requirements
277-
are also met).
275+
For schemas, allows access to objects contained in the specified
276+
schema (assuming that the objects' own privilege requirements are
277+
also met). Essentially this allows the grantee to <quote>look up</>
278+
objects within the schema.
278279
</para>
279280
<para>
280281
For sequences, this privilege allows the use of the

0 commit comments

Comments
 (0)