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
7385619f
Commit
7385619f
authored
Nov 06, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean it up so that it compiles
parent
33a8df7e
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
241 additions
and
350 deletions
+241
-350
src/backend/commands/_deadcode/version.c
src/backend/commands/_deadcode/version.c
+7
-7
src/backend/commands/async.c
src/backend/commands/async.c
+17
-25
src/backend/commands/cluster.c
src/backend/commands/cluster.c
+27
-40
src/backend/commands/command.c
src/backend/commands/command.c
+19
-47
src/backend/commands/copy.c
src/backend/commands/copy.c
+4
-28
src/backend/commands/creatinh.c
src/backend/commands/creatinh.c
+14
-25
src/backend/commands/defind.c
src/backend/commands/defind.c
+22
-25
src/backend/commands/define.c
src/backend/commands/define.c
+5
-8
src/backend/commands/explain.c
src/backend/commands/explain.c
+11
-11
src/backend/commands/purge.c
src/backend/commands/purge.c
+10
-12
src/backend/commands/recipe.c
src/backend/commands/recipe.c
+20
-21
src/backend/commands/remove.c
src/backend/commands/remove.c
+21
-20
src/backend/commands/rename.c
src/backend/commands/rename.c
+27
-37
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+21
-29
src/backend/commands/view.c
src/backend/commands/view.c
+16
-15
No files found.
src/backend/commands/_deadcode/version.c
View file @
7385619f
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/version.c,v 1.
2 1996/11/03 23:57
:42 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/version.c,v 1.
3 1996/11/06 08:21
:42 scrappy Exp $
*
*
* NOTES
* NOTES
* At the point the version is defined, 2 physical relations are created
* At the point the version is defined, 2 physical relations are created
...
@@ -24,13 +24,13 @@
...
@@ -24,13 +24,13 @@
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include
"postgres.h"
#include
<postgres.h>
#include
"access/heapam.h"
#include
<access/heapam.h>
#include
"utils/builtins.h"
#include
<utils/builtins.h>
#include
"commands/version.h"
#include
<commands/version.h>
#include
"access/xact.h"
/* for GetCurrentXactStartTime */
#include
<access/xact.h>
/* for GetCurrentXactStartTime */
#include
"tcop/tcopprot.h"
#include
<tcop/tcopprot.h>
#define MAX_QUERY_LEN 1024
#define MAX_QUERY_LEN 1024
...
...
src/backend/commands/async.c
View file @
7385619f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.
5 1996/11/03 23:57:19
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.
6 1996/11/06 08:21:26
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -58,36 +58,28 @@
...
@@ -58,36 +58,28 @@
* #4,#5 are changing soon with pending rewrite of portal/protocol.
* #4,#5 are changing soon with pending rewrite of portal/protocol.
*
*
*/
*/
#include "postgres.h"
#include "utils/syscache.h"
#include "access/relscan.h"
#include "access/xact.h"
#include "lib/dllist.h"
#include "utils/palloc.h"
#include "tcop/dest.h"
#include "catalog/pg_proc.h"
#include "catalog/catname.h"
#include "catalog/pg_listener.h"
#include "access/heapam.h"
#include "storage/bufmgr.h"
#include "nodes/memnodes.h"
#include "utils/mcxt.h"
#include "commands/async.h"
#include <unistd.h>
#include <unistd.h>
#include <signal.h>
#include <signal.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
#include <netinet/in.h>
#include <netinet/in.h>
#include "libpq/libpq.h"
#include <postgres.h>
#include <utils/syscache.h>
#include <access/relscan.h>
#include <access/xact.h>
#include <lib/dllist.h>
#include <tcop/dest.h>
#include <catalog/pg_proc.h>
#include <catalog/catname.h>
#include <catalog/pg_listener.h>
#include <access/heapam.h>
#include <storage/bufmgr.h>
#include <nodes/memnodes.h>
#include <utils/mcxt.h>
#include <commands/async.h>
#include <libpq/libpq.h>
static
int
notifyFrontEndPending
=
0
;
static
int
notifyFrontEndPending
=
0
;
static
int
notifyIssued
=
0
;
static
int
notifyIssued
=
0
;
...
...
src/backend/commands/cluster.c
View file @
7385619f
...
@@ -14,50 +14,37 @@
...
@@ -14,50 +14,37 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.
7 1996/11/03 23:57:20
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.
8 1996/11/06 08:21:29
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <string.h>
#include <postgres.h>
#include <stdio.h>
#include <catalog/pg_index.h>
#include "postgres.h"
#include <catalog/heap.h>
#include <access/heapam.h>
#include "access/heapam.h"
#include <access/genam.h>
#include "access/genam.h"
#include <access/xact.h>
#include "access/htup.h"
#include <catalog/catname.h>
#include "access/skey.h"
#include <utils/syscache.h>
#include "access/xact.h"
#include <catalog/index.h>
#include <catalog/indexing.h>
#include "catalog/catname.h"
#include <catalog/pg_type.h>
#include "utils/syscache.h"
#include <commands/copy.h>
#include "catalog/index.h"
#include <commands/cluster.h>
#include "catalog/indexing.h"
#include <commands/rename.h>
#include "catalog/pg_type.h"
#include <storage/bufmgr.h>
#include <miscadmin.h>
#include "commands/copy.h"
#include <tcop/dest.h>
#include "commands/cluster.h"
#include <commands/command.h>
#include "commands/rename.h"
#include <utils/builtins.h>
#include <utils/excid.h>
#include "storage/bufmgr.h"
#include <utils/mcxt.h>
#include <catalog/pg_proc.h>
#include "miscadmin.h"
#include <catalog/pg_class.h>
#include "tcop/dest.h"
#include <optimizer/internal.h>
#include "commands/command.h"
#include "utils/builtins.h"
#include "utils/excid.h"
#include "utils/mcxt.h"
#include "utils/palloc.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_class.h"
#include "optimizer/internal.h"
#ifndef NO_SECURITY
#ifndef NO_SECURITY
#include "utils/acl.h"
#include <utils/acl.h>
#include "utils/syscache.h"
#endif
/* !NO_SECURITY */
#endif
/* !NO_SECURITY */
/*
/*
...
...
src/backend/commands/command.c
View file @
7385619f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.
4 1996/11/03 23:57:21
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.
5 1996/11/06 08:21:30
scrappy Exp $
*
*
* NOTES
* NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated
* The PortalExecutorHeapMemory crap needs to be eliminated
...
@@ -20,53 +20,25 @@
...
@@ -20,53 +20,25 @@
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/relscan.h"
#include <access/relscan.h>
#include <utils/portal.h>
#include "nodes/memnodes.h"
#include <commands/command.h>
#include "nodes/parsenodes.h"
#include <utils/mcxt.h>
#include "nodes/params.h"
#include <executor/executor.h>
#include "access/sdir.h"
#include <executor/execdefs.h>
#include "executor/hashjoin.h"
#include <catalog/indexing.h>
#include "executor/tuptable.h"
#include <utils/syscache.h>
#include "access/funcindex.h"
#include <catalog/catalog.h>
#include "nodes/execnodes.h"
#include <access/heapam.h>
#include "nodes/plannodes.h"
#include <utils/array.h>
#include "tcop/dest.h"
#include <utils/acl.h>
#include "executor/execdesc.h"
#include <optimizer/prep.h>
#include "utils/portal.h"
#include <catalog/catname.h>
#include <catalog/pg_proc.h>
#include "commands/command.h"
#include <catalog/pg_type.h>
#include <utils/builtins.h>
#include "utils/mcxt.h"
#include "executor/executor.h"
#include "executor/execdefs.h"
#include "catalog/indexing.h"
#include "utils/syscache.h"
#include "catalog/catalog.h"
#include "access/heapam.h"
#include "utils/array.h"
#include "utils/acl.h"
#include "optimizer/prep.h"
#include "catalog/catname.h"
#include "catalog/pg_proc.h"
#include "utils/palloc.h"
#include "catalog/pg_type.h"
#include "utils/builtins.h"
/* ----------------
/* ----------------
* PortalExecutorHeapMemory stuff
* PortalExecutorHeapMemory stuff
...
...
src/backend/commands/copy.c
View file @
7385619f
...
@@ -6,56 +6,32 @@
...
@@ -6,56 +6,32 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.1
3 1996/11/06 06:47:09
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.1
4 1996/11/06 08:21:31
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <string.h>
#include <unistd.h>
#include <postgres.h>
#include <postgres.h>
#include <access/heapam.h>
#include <access/heapam.h>
#include <stdio.h>
#include <tcop/dest.h>
#include <tcop/dest.h>
#include <fmgr.h>
#include <fmgr.h>
#include <utils/palloc.h>
#include <miscadmin.h>
#include <miscadmin.h>
#include <utils/builtins.h>
#include <utils/builtins.h>
#include <utils/acl.h>
#include <utils/acl.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <catalog/pg_index.h>
#include <catalog/pg_index.h>
#include <utils/syscache.h>
#include <utils/syscache.h>
#include <nodes/params.h>
#include <executor/hashjoin.h>
#include <nodes/primnodes.h>
#include <nodes/memnodes.h>
#include <executor/tuptable.h>
#include <nodes/execnodes.h>
#include <utils/memutils.h>
#include <utils/memutils.h>
#include <executor/executor.h>
#include <executor/executor.h>
#include <access/transam.h>
#include <access/transam.h>
#include <catalog/index.h>
#include <catalog/index.h>
#include <access/genam.h>
#include <access/genam.h>
#include <catalog/pg_type.h>
#include <catalog/pg_type.h>
#include <catalog/catname.h>
#include <catalog/catname.h>
#include <catalog/pg_user.h>
#include <catalog/pg_user.h>
#define ISOCTAL(c) (((c) >= '0') && ((c) <= '7'))
#define ISOCTAL(c) (((c) >= '0') && ((c) <= '7'))
...
...
src/backend/commands/creatinh.c
View file @
7385619f
...
@@ -7,36 +7,25 @@
...
@@ -7,36 +7,25 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.
3 1996/11/03 23:57:25
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.
4 1996/11/06 08:21:32
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include "postgres.h"
#include "utils/rel.h"
#include "nodes/parsenodes.h"
#include "catalog/heap.h"
#include "utils/palloc.h"
#include "commands/creatinh.h"
#include "access/xact.h"
#include "access/heapam.h"
#include "utils/syscache.h"
#include "catalog/catname.h"
#include "catalog/pg_type.h"
#include "catalog/pg_inherits.h"
#include <stdio.h>
#include <stdio.h>
#include "catalog/pg_ipl.h"
#include <postgres.h>
#include <utils/rel.h>
#include <nodes/parsenodes.h>
#include <catalog/heap.h>
#include <commands/creatinh.h>
#include <access/xact.h>
#include <access/heapam.h>
#include <utils/syscache.h>
#include <catalog/catname.h>
#include <catalog/pg_type.h>
#include <catalog/pg_inherits.h>
#include <catalog/pg_ipl.h>
/* ----------------
/* ----------------
* local stuff
* local stuff
...
...
src/backend/commands/defind.c
View file @
7385619f
...
@@ -7,37 +7,34 @@
...
@@ -7,37 +7,34 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.
7 1996/11/06 06:47:12
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/defind.c,v 1.
8 1996/11/06 08:21:33
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <string.h>
#include <string.h>
#include
"postgres.h"
#include
<postgres.h>
#include "access/attnum.h"
#include <access/attnum.h>
#include "access/genam.h"
#include <access/genam.h>
#include "access/heapam.h"
#include <access/heapam.h>
#include "utils/builtins.h"
#include <utils/builtins.h>
#include "utils/syscache.h"
#include <utils/syscache.h>
#include "catalog/index.h"
#include <catalog/index.h>
#include "catalog/pg_index.h"
#include <catalog/pg_index.h>
#include "catalog/pg_proc.h"
#include <catalog/pg_proc.h>
#include "catalog/pg_opclass.h"
#include <catalog/pg_opclass.h>
#include "nodes/plannodes.h"
#include <nodes/plannodes.h>
#include "nodes/primnodes.h"
#include <nodes/primnodes.h>
#include "nodes/relation.h"
#include <nodes/relation.h>
#include "utils/palloc.h"
#include <utils/relcache.h>
#include "utils/relcache.h"
#include <utils/lsyscache.h>
#include "utils/lsyscache.h"
#include <commands/defrem.h>
#include <parser/parsetree.h>
/* for getrelid() */
#include "commands/defrem.h"
#include <optimizer/prep.h>
#include "parser/parsetree.h"
/* for getrelid() */
#include <optimizer/clauses.h>
#include <storage/lmgr.h>
#include "optimizer/prep.h"
#include <fmgr.h>
#include "optimizer/clauses.h"
#include "storage/lmgr.h"
#include "fmgr.h"
#define IsFuncIndex(ATTR_LIST) (((IndexElem*)lfirst(ATTR_LIST))->args!=NULL)
#define IsFuncIndex(ATTR_LIST) (((IndexElem*)lfirst(ATTR_LIST))->args!=NULL)
...
...
src/backend/commands/define.c
View file @
7385619f
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.
5 1996/11/03 23:57:30
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.
6 1996/11/06 08:21:34
scrappy Exp $
*
*
* DESCRIPTION
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* The "DefineFoo" routines take the parse tree and pick out the
...
@@ -32,8 +32,10 @@
...
@@ -32,8 +32,10 @@
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <st
ring
.h>
#include <st
dio
.h>
#include <ctype.h>
#include <ctype.h>
#include <string.h>
#include <math.h>
#include <postgres.h>
#include <postgres.h>
...
@@ -44,17 +46,12 @@
...
@@ -44,17 +46,12 @@
#include <catalog/pg_proc.h>
#include <catalog/pg_proc.h>
#include <catalog/pg_type.h>
#include <catalog/pg_type.h>
#include <utils/syscache.h>
#include <utils/syscache.h>
#include <nodes/parsenodes.h>
#include <fmgr.h>
/* for fmgr */
#include <fmgr.h>
/* for fmgr */
#include <utils/builtins.h>
/* prototype for textin() */
#include <utils/builtins.h>
/* prototype for textin() */
#include <utils/palloc.h>
#include <commands/defrem.h>
#include <commands/defrem.h>
#include <optimizer/xfunc.h>
#include <optimizer/xfunc.h>
#include <tcop/dest.h>
#include <tcop/dest.h>
#include <catalog/pg_user.h>
#include "catalog/pg_user.h"
static
char
*
defGetString
(
DefElem
*
def
);
static
char
*
defGetString
(
DefElem
*
def
);
static
int
defGetTypeLength
(
DefElem
*
def
);
static
int
defGetTypeLength
(
DefElem
*
def
);
...
...
src/backend/commands/explain.c
View file @
7385619f
...
@@ -7,23 +7,23 @@
...
@@ -7,23 +7,23 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.
3 1996/11/03 23:57:32
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/explain.c,v 1.
4 1996/11/06 08:21:35
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include
"postgres.h"
#include
<postgres.h>
#include "parser/catalog_utils.h"
#include
"parser/parse_query.h"
/* for MakeTimeRange() */
#include
<parser/catalog_utils.h>
#include
"nodes/plannodes.h"
#include
<parser/parse_query.h>
/* for MakeTimeRange() */
#include
"tcop/tcopprot.h"
#include
<nodes/plannodes.h>
#include
"utils/palloc.h"
#include
<tcop/tcopprot.h>
#include
"lib/stringinfo.h"
#include
<lib/stringinfo.h>
#include
"commands/explain.h"
#include
<commands/explain.h>
#include
"optimizer/planner.h"
#include
<optimizer/planner.h>
#include
"access/xact.h"
#include
<access/xact.h>
typedef
struct
ExplainState
{
typedef
struct
ExplainState
{
/* options */
/* options */
...
...
src/backend/commands/purge.c
View file @
7385619f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/purge.c,v 1.
2 1996/11/03 23:57:35
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/purge.c,v 1.
3 1996/11/06 08:21:36
scrappy Exp $
*
*
* Note:
* Note:
* XXX There are many instances of int32 instead of ...Time. These
* XXX There are many instances of int32 instead of ...Time. These
...
@@ -15,18 +15,16 @@
...
@@ -15,18 +15,16 @@
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include
"postgres.h"
#include
<postgres.h>
#include "access/heapam.h"
#include <access/heapam.h>
#include "access/xact.h"
#include <access/xact.h>
#include "utils/tqual.h"
/* for NowTimeQual */
#include <utils/tqual.h>
/* for NowTimeQual */
#include "catalog/catname.h"
#include <catalog/catname.h>
#include "catalog/indexing.h"
#include <catalog/indexing.h>
#include "fmgr.h"
#include <fmgr.h>
#include "utils/palloc.h"
#include <commands/purge.h>
#include <utils/builtins.h>
/* for isreltime() */
#include "commands/purge.h"
#include "utils/builtins.h"
/* for isreltime() */
static
char
cmdname
[]
=
"RelationPurge"
;
static
char
cmdname
[]
=
"RelationPurge"
;
...
...
src/backend/commands/recipe.c
View file @
7385619f
...
@@ -7,29 +7,28 @@
...
@@ -7,29 +7,28 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.
4 1996/11/03 23:57:36
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/recipe.c,v 1.
5 1996/11/06 08:21:37
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <postgres.h>
#include "postgres.h"
#include <nodes/parsenodes.h>
#include "nodes/parsenodes.h"
#include <nodes/plannodes.h>
#include "nodes/plannodes.h"
#include <nodes/execnodes.h>
#include "nodes/execnodes.h"
#include <nodes/makefuncs.h>
#include "nodes/makefuncs.h"
#include <catalog/pg_type.h>
#include "catalog/pg_type.h"
#include <commands/recipe.h>
#include "commands/recipe.h"
#include <libpq/libpq-be.h>
#include "libpq/libpq-be.h"
#include <utils/builtins.h>
#include "utils/builtins.h"
#include <utils/relcache.h>
/* for RelationNameGetRelation*/
#include "utils/relcache.h"
/* for RelationNameGetRelation*/
#include <parser/parse_query.h>
#include "parser/parse_query.h"
#include <rewrite/rewriteHandler.h>
#include "rewrite/rewriteHandler.h"
#include <rewrite/rewriteManip.h>
#include "rewrite/rewriteManip.h"
#include <tcop/pquery.h>
#include "tcop/pquery.h"
#include <tcop/dest.h>
#include "tcop/dest.h"
#include <optimizer/planner.h>
#include "optimizer/planner.h"
#include <executor/executor.h>
#include "executor/executor.h"
/* from tcop/postgres.c */
/* from tcop/postgres.c */
extern
CommandDest
whereToSendOutput
;
extern
CommandDest
whereToSendOutput
;
...
@@ -41,7 +40,7 @@ void beginRecipe(RecipeStmt *stmt) {
...
@@ -41,7 +40,7 @@ void beginRecipe(RecipeStmt *stmt) {
}
}
#else
#else
#include
"tioga/tgRecipe.h"
#include
<tioga/tgRecipe.h>
#define DEBUG_RECIPE 1
#define DEBUG_RECIPE 1
...
...
src/backend/commands/remove.c
View file @
7385619f
...
@@ -7,30 +7,31 @@
...
@@ -7,30 +7,31 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.
5 1996/11/06 06:47:16
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.
6 1996/11/06 08:21:38
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <
string
.h>
#include <
postgres
.h>
#include "postgres.h"
#include <utils/acl.h>
#include <access/heapam.h>
#include "access/heapam.h"
#include <utils/builtins.h>
#include "utils/builtins.h"
#include <utils/syscache.h>
#include "utils/tqual.h"
/* for NowTimeQual */
#include <catalog/catname.h>
#include "utils/syscache.h"
#include <commands/defrem.h>
#include "catalog/catname.h"
#include <miscadmin.h>
#include "commands/defrem.h"
#include <catalog/pg_aggregate.h>
#include <catalog/pg_language.h>
#include "miscadmin.h"
#include <catalog/pg_operator.h>
#include <catalog/pg_proc.h>
#include "catalog/pg_aggregate.h"
#include <parser/catalog_utils.h>
#include "catalog/pg_language.h"
#include <storage/bufmgr.h>
#include "catalog/pg_operator.h"
#include <fmgr.h>
#include "catalog/pg_proc.h"
#ifndef HAVE_MEMMOVE
#include "parser/catalog_utils.h"
# include <regex/utils.h>
#include "storage/bufmgr.h"
#else
#include "fmgr.h"
# include <string.h>
#endif
/*
/*
* RemoveOperator --
* RemoveOperator --
...
...
src/backend/commands/rename.c
View file @
7385619f
...
@@ -7,49 +7,39 @@
...
@@ -7,49 +7,39 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.
2 1996/11/03 23:57
:39 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.
3 1996/11/06 08:21
:39 scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <string.h>
#include <postgres.h>
#include "postgres.h"
#include "access/heapam.h"
#include "access/relscan.h"
#include "utils/builtins.h"
#include "utils/tqual.h"
#include "catalog/catname.h"
#include "utils/syscache.h"
#include "catalog/indexing.h"
#include "catalog/catalog.h"
#include "commands/copy.h"
#include "executor/execdefs.h"
/* for EXEC_{FOR,BACK,FDEBUG,BDEBUG} */
#include "storage/itemptr.h"
#include "miscadmin.h"
#include "utils/portal.h"
#include "tcop/dest.h"
#include "commands/command.h"
#include "utils/excid.h"
#include "utils/mcxt.h"
#include "utils/palloc.h"
#include "catalog/pg_attribute.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_class.h"
#include "optimizer/internal.h"
#include "optimizer/prep.h"
/* for find_all_inheritors */
#include <access/heapam.h>
#include <access/relscan.h>
#include <utils/builtins.h>
#include <catalog/catname.h>
#include <utils/syscache.h>
#include <catalog/indexing.h>
#include <catalog/catalog.h>
#include <commands/copy.h>
#include <executor/execdefs.h>
/* for EXEC_{FOR,BACK,FDEBUG,BDEBUG} */
#include <miscadmin.h>
#include <utils/portal.h>
#include <tcop/dest.h>
#include <commands/command.h>
#include <utils/excid.h>
#include <utils/mcxt.h>
#include <catalog/pg_proc.h>
#include <catalog/pg_class.h>
#include <optimizer/internal.h>
#include <optimizer/prep.h>
/* for find_all_inheritors */
#ifndef NO_SECURITY
#ifndef NO_SECURITY
#
include "utils/acl.h"
#
include <utils/acl.h>
#endif
/* !NO_SECURITY */
#endif
/* !NO_SECURITY */
#ifndef HAVE_MEMMOVE
# include <regex/utils.h>
#else
# include <string.h>
#endif
/*
/*
* renameatt - changes the name of a attribute in a relation
* renameatt - changes the name of a attribute in a relation
...
...
src/backend/commands/vacuum.c
View file @
7385619f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.
7 1996/11/06 06:47:18
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.
8 1996/11/06 08:21:40
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -18,36 +18,28 @@
...
@@ -18,36 +18,28 @@
#include <fcntl.h>
#include <fcntl.h>
#include <unistd.h>
#include <unistd.h>
#include "postgres.h"
#include <postgres.h>
#include "utils/portal.h"
#include <utils/portal.h>
#include "access/genam.h"
#include <access/genam.h>
#include "access/heapam.h"
#include <access/heapam.h>
#include "access/xact.h"
#include <access/xact.h>
#include "storage/bufmgr.h"
#include <storage/bufmgr.h>
#include "access/transam.h"
#include <access/transam.h>
#include "utils/tqual.h"
#include <catalog/pg_index.h>
#include <catalog/catname.h>
#include "catalog/pg_index.h"
#include <catalog/pg_class.h>
#include "catalog/catname.h"
#include <catalog/pg_proc.h>
#include "catalog/pg_class.h"
#include <storage/smgr.h>
#include "catalog/pg_proc.h"
#include <storage/lmgr.h>
#include <utils/mcxt.h>
#include "storage/smgr.h"
#include <commands/vacuum.h>
#include "storage/lmgr.h"
#include <storage/bufpage.h>
#include "utils/mcxt.h"
#include "utils/palloc.h"
#include "commands/vacuum.h"
#include "storage/bufpage.h"
#ifdef NEED_RUSAGE
#ifdef NEED_RUSAGE
#
include "rusagestub.h"
#
include <rusagestub.h>
#else
/* NEED_RUSAGE */
#else
/* NEED_RUSAGE */
#include <sys/time.h>
#
include <sys/time.h>
#include <sys/resource.h>
#
include <sys/resource.h>
#endif
/* NEED_RUSAGE */
#endif
/* NEED_RUSAGE */
bool
VacuumRunning
=
false
;
bool
VacuumRunning
=
false
;
...
...
src/backend/commands/view.c
View file @
7385619f
...
@@ -7,25 +7,26 @@
...
@@ -7,25 +7,26 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.
3 1996/11/03 23:57
:43 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.
4 1996/11/06 08:21
:43 scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <stdio.h>
/* for sprintf() */
#include <stdio.h>
/* for sprintf() */
#include "postgres.h"
#include "access/heapam.h"
#include <postgres.h>
#include "access/xact.h"
#include "utils/builtins.h"
#include <catalog/heap.h>
#include "utils/palloc.h"
#include <access/heapam.h>
#include "nodes/relation.h"
#include <access/xact.h>
#include "nodes/parsenodes.h"
#include <utils/builtins.h>
#include "parser/catalog_utils.h"
#include <nodes/relation.h>
#include "parser/parse_query.h"
#include <parser/catalog_utils.h>
#include "rewrite/rewriteDefine.h"
#include <parser/parse_query.h>
#include "rewrite/rewriteHandler.h"
#include <rewrite/rewriteDefine.h>
#include "rewrite/rewriteManip.h"
#include <rewrite/rewriteHandler.h>
#include "rewrite/rewriteRemove.h"
#include <rewrite/rewriteManip.h>
#include "commands/creatinh.h"
#include <rewrite/rewriteRemove.h>
#include <commands/creatinh.h>
/*---------------------------------------------------------------------
/*---------------------------------------------------------------------
* DefineVirtualRelation
* DefineVirtualRelation
...
...
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