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
b85a965f
Commit
b85a965f
authored
Jul 11, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow each C include file to compile on its own by including any needed
header files.
parent
45a43090
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
62 additions
and
38 deletions
+62
-38
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup.h
+2
-1
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_archiver.h
+24
-24
src/bin/pg_dump/pg_backup_db.h
src/bin/pg_dump/pg_backup_db.h
+8
-1
src/include/access/gin.h
src/include/access/gin.h
+4
-2
src/include/commands/sequence.h
src/include/commands/sequence.h
+2
-1
src/include/port.h
src/include/port.h
+5
-1
src/include/rewrite/rewriteHandler.h
src/include/rewrite/rewriteHandler.h
+2
-1
src/include/utils/inet.h
src/include/utils/inet.h
+3
-1
src/include/utils/numeric.h
src/include/utils/numeric.h
+3
-1
src/include/utils/syscache.h
src/include/utils/syscache.h
+2
-1
src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/include/ecpglib.h
+3
-2
src/timezone/pgtz.h
src/timezone/pgtz.h
+2
-1
src/tools/pginclude/README
src/tools/pginclude/README
+2
-1
No files found.
src/bin/pg_dump/pg_backup.h
View file @
b85a965f
...
...
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup.h,v 1.
39 2006/05/28 21:13:54 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup.h,v 1.
40 2006/07/11 13:54:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -26,6 +26,7 @@
#include "postgres_fe.h"
#include "pg_dump.h"
#include "dumputils.h"
#include "libpq-fe.h"
#include "pqexpbuffer.h"
...
...
src/bin/pg_dump/pg_backup_archiver.h
View file @
b85a965f
...
...
@@ -17,7 +17,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.7
0 2006/05/28 21:13:54 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.h,v 1.7
1 2006/07/11 13:54:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -98,29 +98,29 @@ struct _archiveHandle;
struct
_tocEntry
;
struct
_restoreList
;
typedef
void
(
*
ClosePtr
)
(
struct
_archiveHandle
*
AH
);
typedef
void
(
*
ArchiveEntryPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
StartDataPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
size_t
(
*
WriteDataPtr
)
(
struct
_archiveHandle
*
AH
,
const
void
*
data
,
size_t
dLen
);
typedef
void
(
*
EndDataPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
StartBlobsPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
StartBlobPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
,
Oid
oid
);
typedef
void
(
*
EndBlobPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
,
Oid
oid
);
typedef
void
(
*
EndBlobsPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
int
(
*
WriteBytePtr
)
(
struct
_archiveHandle
*
AH
,
const
int
i
);
typedef
int
(
*
ReadBytePtr
)
(
struct
_archiveHandle
*
AH
);
typedef
size_t
(
*
WriteBufPtr
)
(
struct
_archiveHandle
*
AH
,
const
void
*
c
,
size_t
len
);
typedef
size_t
(
*
ReadBufPtr
)
(
struct
_archiveHandle
*
AH
,
void
*
buf
,
size_t
len
);
typedef
void
(
*
SaveArchivePtr
)
(
struct
_archiveHandle
*
AH
);
typedef
void
(
*
WriteExtraTocPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
ReadExtraTocPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
PrintExtraTocPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
PrintTocDataPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
,
RestoreOptions
*
ropt
);
typedef
size_t
(
*
CustomOutPtr
)
(
struct
_archiveHandle
*
AH
,
const
void
*
buf
,
size_t
len
);
typedef
void
(
*
ClosePtr
)
(
struct
_archiveHandle
*
AH
);
typedef
void
(
*
ArchiveEntryPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
StartDataPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
size_t
(
*
WriteDataPtr
)
(
struct
_archiveHandle
*
AH
,
const
void
*
data
,
size_t
dLen
);
typedef
void
(
*
EndDataPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
StartBlobsPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
StartBlobPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
,
Oid
oid
);
typedef
void
(
*
EndBlobPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
,
Oid
oid
);
typedef
void
(
*
EndBlobsPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
int
(
*
WriteBytePtr
)
(
struct
_archiveHandle
*
AH
,
const
int
i
);
typedef
int
(
*
ReadBytePtr
)
(
struct
_archiveHandle
*
AH
);
typedef
size_t
(
*
WriteBufPtr
)
(
struct
_archiveHandle
*
AH
,
const
void
*
c
,
size_t
len
);
typedef
size_t
(
*
ReadBufPtr
)
(
struct
_archiveHandle
*
AH
,
void
*
buf
,
size_t
len
);
typedef
void
(
*
SaveArchivePtr
)
(
struct
_archiveHandle
*
AH
);
typedef
void
(
*
WriteExtraTocPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
ReadExtraTocPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
PrintExtraTocPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
);
typedef
void
(
*
PrintTocDataPtr
)
(
struct
_archiveHandle
*
AH
,
struct
_tocEntry
*
te
,
RestoreOptions
*
ropt
);
typedef
size_t
(
*
CustomOutPtr
)
(
struct
_archiveHandle
*
AH
,
const
void
*
buf
,
size_t
len
);
typedef
enum
_archiveMode
{
...
...
src/bin/pg_dump/pg_backup_db.h
View file @
b85a965f
...
...
@@ -2,11 +2,18 @@
* Definitions for pg_backup_db.c
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_db.h,v 1.1
1 2005/06/21 20:45:44 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_db.h,v 1.1
2 2006/07/11 13:54:24 momjian
Exp $
*/
#ifndef PG_BACKUP_DB_H
#define PG_BACKUP_DB_H
#include "pg_backup_archiver.h"
extern
int
ExecuteSqlCommand
(
ArchiveHandle
*
AH
,
PQExpBuffer
qry
,
char
*
desc
);
extern
int
ExecuteSqlCommandBuf
(
ArchiveHandle
*
AH
,
void
*
qry
,
size_t
bufLen
);
extern
void
StartTransaction
(
ArchiveHandle
*
AH
);
extern
void
CommitTransaction
(
ArchiveHandle
*
AH
);
#endif
src/include/access/gin.h
View file @
b85a965f
...
...
@@ -3,7 +3,7 @@
* header file for postgres inverted index access method implementation.
*
* Copyright (c) 2006, PostgreSQL Global Development Group
* $PostgreSQL: pgsql/src/include/access/gin.h,v 1.
3 2006/07/03 22:45:39 tgl
Exp $
* $PostgreSQL: pgsql/src/include/access/gin.h,v 1.
4 2006/07/11 13:54:24 momjian
Exp $
*--------------------------------------------------------------------------
*/
...
...
@@ -11,6 +11,8 @@
#ifndef GIN_H
#define GIN_H
#include "access/relscan.h"
#include "access/skey.h"
#include "access/xlog.h"
#include "access/xlogdefs.h"
#include "storage/bufpage.h"
...
...
@@ -385,7 +387,7 @@ extern Datum ginendscan(PG_FUNCTION_ARGS);
extern
Datum
ginrescan
(
PG_FUNCTION_ARGS
);
extern
Datum
ginmarkpos
(
PG_FUNCTION_ARGS
);
extern
Datum
ginrestrpos
(
PG_FUNCTION_ARGS
);
extern
void
newScanKey
(
IndexScanDesc
scan
);
extern
void
newScanKey
(
IndexScanDesc
scan
);
/* ginget.c */
extern
DLLIMPORT
int
GinFuzzySearchLimit
;
...
...
src/include/commands/sequence.h
View file @
b85a965f
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/commands/sequence.h,v 1.3
6 2006/03/24 04:32:13 tgl
Exp $
* $PostgreSQL: pgsql/src/include/commands/sequence.h,v 1.3
7 2006/07/11 13:54:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -14,6 +14,7 @@
#define SEQUENCE_H
#include "nodes/parsenodes.h"
#include "storage/relfilenode.h"
#include "access/xlog.h"
#include "fmgr.h"
...
...
src/include/port.h
View file @
b85a965f
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.9
3 2006/06/25 00:18
:24 momjian Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.9
4 2006/07/11 13:54
:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -184,6 +184,10 @@ extern char *simple_prompt(const char *prompt, int maxlen, bool echo);
* pgpipe, but in other cases we define rename to pgrename just on Win32.
*/
#ifndef WIN32
/*
* The function prototypes are not supplied because every C file
* includes this file.
*/
#define pgpipe(a) pipe(a)
#define piperead(a,b,c) read(a,b,c)
#define pipewrite(a,b,c) write(a,b,c)
...
...
src/include/rewrite/rewriteHandler.h
View file @
b85a965f
...
...
@@ -7,13 +7,14 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/rewrite/rewriteHandler.h,v 1.2
6 2006/03/05 15:58:58
momjian Exp $
* $PostgreSQL: pgsql/src/include/rewrite/rewriteHandler.h,v 1.2
7 2006/07/11 13:54:24
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef REWRITEHANDLER_H
#define REWRITEHANDLER_H
#include "utils/rel.h"
#include "nodes/parsenodes.h"
extern
List
*
QueryRewrite
(
Query
*
parsetree
);
...
...
src/include/utils/inet.h
View file @
b85a965f
...
...
@@ -7,13 +7,15 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/utils/inet.h,v 1.2
3 2006/03/05 15:59:07
momjian Exp $
* $PostgreSQL: pgsql/src/include/utils/inet.h,v 1.2
4 2006/07/11 13:54:24
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef INET_H
#define INET_H
#include "fmgr.h"
/*
* This is the internal storage format for IP addresses
* (both INET and CIDR datatypes):
...
...
src/include/utils/numeric.h
View file @
b85a965f
...
...
@@ -7,13 +7,15 @@
*
* Copyright (c) 1998-2006, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.2
1 2006/03/05 15:59:07
momjian Exp $
* $PostgreSQL: pgsql/src/include/utils/numeric.h,v 1.2
2 2006/07/11 13:54:24
momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef _PG_NUMERIC_H_
#define _PG_NUMERIC_H_
#include "fmgr.h"
/*
* Hardcoded precision limit - arbitrary, but must be small enough that
* dscale values will fit in 14 bits.
...
...
src/include/utils/syscache.h
View file @
b85a965f
...
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.6
3 2006/05/03 22:45:26 tgl
Exp $
* $PostgreSQL: pgsql/src/include/utils/syscache.h,v 1.6
4 2006/07/11 13:54:24 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,7 @@
#define SYSCACHE_H
#include "access/htup.h"
#include "utils/catcache.h"
/*
* Declarations for util/syscache.c.
...
...
src/interfaces/ecpg/include/ecpglib.h
View file @
b85a965f
/*
* this is a small part of c.h since we don't want to leak all postgres
* definitions into ecpg programs
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.6
6 2006/03/11 04:38:39
momjian Exp $
* $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.6
7 2006/07/11 13:54:25
momjian Exp $
*/
#ifndef _ECPGLIB_H
...
...
@@ -9,6 +9,7 @@
#include "libpq-fe.h"
#include "ecpgtype.h"
#include "sqlca.h"
#include <string.h>
#ifndef __cplusplus
...
...
@@ -39,7 +40,7 @@ extern "C"
struct
sqlca_t
;
void
ECPGinit_sqlca
(
struct
sqlca_t
*
sqlca
);
void
ECPGinit_sqlca
(
struct
sqlca_t
*
sqlca
);
void
ECPGdebug
(
int
,
FILE
*
);
bool
ECPGstatus
(
int
,
const
char
*
);
bool
ECPGsetcommit
(
int
,
const
char
*
,
const
char
*
);
...
...
src/timezone/pgtz.h
View file @
b85a965f
...
...
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.1
6 2006/03/05 15:59:11
momjian Exp $
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.1
7 2006/07/11 13:54:25
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,6 +17,7 @@
#define _PGTZ_H
#include "tzfile.h"
#include "pgtime.h"
extern
char
*
pg_TZDIR
(
void
);
...
...
src/tools/pginclude/README
View file @
b85a965f
...
...
@@ -13,4 +13,5 @@ pgrminclude [-v]
pgdefine create macro calls for all defines in the file (used by
the above routines)
It is also a good idea to sort the pg-specific include files in alphabetic
order. This is best done with a text editor.
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