Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c5133e59
Commit
c5133e59
authored
Jul 10, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow /contrib include files to compile on their own.
parent
f0cd7647
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
11 deletions
+24
-11
contrib/intarray/_int.h
contrib/intarray/_int.h
+5
-0
contrib/pgcrypto/pgcrypto.h
contrib/pgcrypto/pgcrypto.h
+3
-1
contrib/tablefunc/tablefunc.h
contrib/tablefunc/tablefunc.h
+2
-0
contrib/tsearch2/common.h
contrib/tsearch2/common.h
+2
-4
contrib/tsearch2/query.h
contrib/tsearch2/query.h
+2
-2
contrib/tsearch2/query_cleanup.h
contrib/tsearch2/query_cleanup.h
+4
-2
contrib/tsearch2/query_util.h
contrib/tsearch2/query_util.h
+1
-0
contrib/tsearch2/snowball/header.h
contrib/tsearch2/snowball/header.h
+2
-2
contrib/tsearch2/ts_stat.h
contrib/tsearch2/ts_stat.h
+1
-0
contrib/userlock/user_locks.h
contrib/userlock/user_locks.h
+2
-0
No files found.
contrib/intarray/_int.h
View file @
c5133e59
#ifndef ___INT_H__
#define ___INT_H__
#include "postgres.h"
#include <float.h>
...
...
@@ -171,3 +174,5 @@ int compDESC(const void *a, const void *b);
if (ARRNELEMS(a) > 1) \
qsort((void*)ARRPTR(a), ARRNELEMS(a),sizeof(int4), \
(direction) ? compASC : compDESC )
#endif
contrib/pgcrypto/pgcrypto.h
View file @
c5133e59
...
...
@@ -26,12 +26,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $PostgreSQL: pgsql/contrib/pgcrypto/pgcrypto.h,v 1.
8 2003/11/29 22:39:28 pgsql
Exp $
* $PostgreSQL: pgsql/contrib/pgcrypto/pgcrypto.h,v 1.
9 2006/07/10 22:06:11 momjian
Exp $
*/
#ifndef _PG_CRYPTO_H
#define _PG_CRYPTO_H
#include "fmgr.h"
/* exported functions */
Datum
pg_digest
(
PG_FUNCTION_ARGS
);
Datum
pg_digest_exists
(
PG_FUNCTION_ARGS
);
...
...
contrib/tablefunc/tablefunc.h
View file @
c5133e59
...
...
@@ -31,6 +31,8 @@
#ifndef TABLEFUNC_H
#define TABLEFUNC_H
#include "fmgr.h"
/*
* External declarations
*/
...
...
contrib/tsearch2/common.h
View file @
c5133e59
#ifndef __TS_COMMON_H__
#define __TS_COMMON_H__
#include "postgres.h"
#include "fmgr.h"
#ifndef PG_NARGS
#define PG_NARGS() (fcinfo->nargs)
#endif
#include "utils/array.h"
text
*
char2text
(
char
*
in
);
text
*
charl2text
(
char
*
in
,
int
len
);
...
...
contrib/tsearch2/query.h
View file @
c5133e59
...
...
@@ -48,7 +48,7 @@ typedef struct
#define CLOSE 5
#define VALSTOP 6
/* for stop words */
bool
TS_execute
(
ITEM
*
curitem
,
void
*
checkval
,
bool
calcnot
,
bool
(
*
chkcond
)
(
void
*
checkval
,
ITEM
*
val
));
bool
TS_execute
(
ITEM
*
curitem
,
void
*
checkval
,
bool
calcnot
,
bool
(
*
chkcond
)
(
void
*
checkval
,
ITEM
*
val
));
#endif
contrib/tsearch2/query_cleanup.h
View file @
c5133e59
#ifndef __REWRITE_H__
#define __REWRITE_H__
ITEM
*
clean_NOT_v2
(
ITEM
*
ptr
,
int4
*
len
);
ITEM
*
clean_fakeval_v2
(
ITEM
*
ptr
,
int4
*
len
);
#include "query.h"
ITEM
*
clean_NOT_v2
(
ITEM
*
ptr
,
int4
*
len
);
ITEM
*
clean_fakeval_v2
(
ITEM
*
ptr
,
int4
*
len
);
#endif
contrib/tsearch2/query_util.h
View file @
c5133e59
...
...
@@ -5,6 +5,7 @@
#include "utils/memutils.h"
#include "query.h"
#include "executor/spi.h"
typedef
struct
QTNode
{
...
...
contrib/tsearch2/snowball/header.h
View file @
c5133e59
/* $PostgreSQL: pgsql/contrib/tsearch2/snowball/header.h,v 1.
7 2006/03/11 04:38:30
momjian Exp $ */
/* $PostgreSQL: pgsql/contrib/tsearch2/snowball/header.h,v 1.
8 2006/07/10 22:06:11
momjian Exp $ */
#include <limits.h>
#include "api.h"
#define HEAD
2*sizeof(int
)
#define HEAD
(2 * sizeof(int)
)
#define SIZE(p) ((int *)(p))[-1]
#define SET_SIZE(p, n) ((int *)(p))[-1] = n
...
...
contrib/tsearch2/ts_stat.h
View file @
c5133e59
...
...
@@ -7,6 +7,7 @@
#include "access/itup.h"
#include "utils/builtins.h"
#include "storage/bufpage.h"
#include "tsvector.h"
typedef
struct
{
...
...
contrib/userlock/user_locks.h
View file @
c5133e59
#ifndef USER_LOCKS_H
#define USER_LOCKS_H
#include "storage/lock.h"
extern
int
user_lock
(
uint32
id1
,
uint32
id2
,
LOCKMODE
lockmode
);
extern
int
user_unlock
(
uint32
id1
,
uint32
id2
,
LOCKMODE
lockmode
);
extern
int
user_write_lock
(
uint32
id1
,
uint32
id2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment