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
aa907f7d
Commit
aa907f7d
authored
Oct 21, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Wall'd
parent
8385d557
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
145 additions
and
35 deletions
+145
-35
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootparse.y
+42
-12
src/backend/bootstrap/bootscanner.l
src/backend/bootstrap/bootscanner.l
+27
-3
src/backend/bootstrap/bootstrap.c
src/backend/bootstrap/bootstrap.c
+76
-20
No files found.
src/backend/bootstrap/bootparse.y
View file @
aa907f7d
...
@@ -8,24 +8,54 @@
...
@@ -8,24 +8,54 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.
2 1996/08/13 01:28:27
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.
3 1996/10/21 08:31:18
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include "access/heapam.h"
#include "
access/tupdesc
.h"
#include "
postgres
.h"
#include "bootstrap/bootstrap.h"
#include "
utils/portal.h"
#include "
catalog/pg_attribute.h"
#include "
storage/smgr
.h"
#include "
access/attnum
.h"
#include "nodes/pg_list.h"
#include "nodes/pg_list.h"
#include "catalog/catalog.h"
#include "access/tupdesc.h"
#include "catalog/catname.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "nodes/nodes.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h"
#include "nodes/primnodes.h"
#include <time.h>
#include "utils/nabstime.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "access/htup.h"
#include "utils/tqual.h"
#include "nodes/parsenodes.h"
#include "access/xact.h"
#include <stdio.h>
#include "catalog/heap.h"
#include "catalog/heap.h"
#include "catalog/index.h"
#include "commands/rename.h"
#include "storage/ipc.h"
#include "storage/spin.h"
#include "storage/smgr.h"
#include "tcop/dest.h"
#include "commands/defrem.h"
#include "commands/defrem.h"
#include "access/transam.h"
#include "access/xact.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "bootstrap/bootstrap.h"
#include "miscadmin.h"
#define DO_START { StartTransactionCommand();\
#define DO_START { StartTransactionCommand();\
}
}
...
...
src/backend/bootstrap/bootscanner.l
View file @
aa907f7d
...
@@ -8,14 +8,38 @@
...
@@ -8,14 +8,38 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.
2 1996/08/28 07:14:09
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.
3 1996/10/21 08:31:21
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include "postgres.h"
#include "postgres.h"
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "catalog/pg_attribute.h"
#include "access/attnum.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.h"
#include "access/itup.h"
#include "access/funcindex.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "nodes/nodes.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h"
#include "bootstrap/bootstrap.h"
#include "bootstrap/bootstrap.h"
#include "utils/portal.h"
#include "access/xact.h"
#include "nodes/primnodes.h"
#include <time.h>
#include "utils/nabstime.h"
#include "access/htup.h"
#include "utils/tqual.h"
#include "nodes/parsenodes.h"
#include "parser/scansup.h"
#include "parser/scansup.h"
#include "bootstrap_tokens.h"
#include "bootstrap_tokens.h"
...
...
src/backend/bootstrap/bootstrap.c
View file @
aa907f7d
...
@@ -7,42 +7,97 @@
...
@@ -7,42 +7,97 @@
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.
7 1996/10/18 05:47:12
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.
8 1996/10/21 08:31:23
scrappy Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <string.h>
#include <unistd.h>
#include "libpq/pqsignal.h"
/* substitute for <signal.h> */
#include <setjmp.h>
#define BOOTSTRAP_INCLUDE
/* mask out stuff in tcop/tcopprot.h */
#define BOOTSTRAP_INCLUDE
/* mask out stuff in tcop/tcopprot.h */
#include "bootstrap/bootstrap.h"
#include "postgres.h"
#include "postgres.h"
#include "miscadmin.h"
#include "tcop/tcopprot.h"
#include "access/heapam.h"
#include "catalog/pg_attribute.h"
#include "access/genam.h"
#include "access/attnum.h"
#include "nodes/pg_list.h"
#include "access/tupdesc.h"
#include "access/tupdesc.h"
#include "utils/builtins.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "nodes/nodes.h"
#include "rewrite/prs2lock.h"
#include "access/skey.h"
#include "access/strat.h"
#include "utils/rel.h"
#include "utils/rel.h"
#include <time.h>
#include "storage/block.h"
#include "storage/off.h"
#include "storage/itemptr.h"
#include "utils/nabstime.h"
#include "access/htup.h"
#include "utils/tqual.h"
#include "utils/tqual.h"
#include "utils/lsyscache.h"
#include "storage/buf.h"
#include "access/xact.h"
#include "access/relscan.h"
#include "utils/exc.h"
/* for ExcAbort and <setjmp.h> */
#include "access/heapam.h"
#include "fmgr.h"
#include "fmgr.h"
#include "utils/palloc.h"
#include "utils/mcxt.h"
#include "access/funcindex.h"
#include "storage/smgr.h"
#include "commands/defrem.h"
#include "nodes/memnodes.h"
#include <stdio.h>
#include <signal.h>
#include <setjmp.h>
#include "miscadmin.h"
#include "catalog/pg_type.h"
#include "catalog/pg_type.h"
#include "access/itup.h"
#include "bootstrap/bootstrap.h"
#include "tcop/tcopprot.h"
#include "storage/ipc.h"
#include "storage/spin.h"
#include "utils/hsearch.h"
#include "storage/shmem.h"
#include "storage/lock.h"
#include "access/xact.h"
#ifndef HAVE_MEMMOVE
# include "regex/utils.h"
#endif
#include <string.h>
#include "nodes/primnodes.h"
#include "nodes/parsenodes.h"
#include "nodes/params.h"
#include "access/sdir.h"
#include "executor/hashjoin.h"
#include "executor/tuptable.h"
#include "nodes/execnodes.h"
#include "nodes/plannodes.h"
#include "tcop/dest.h"
#include "executor/execdesc.h"
#include "utils/portal.h"
#include "utils/mcxt.h"
#include "catalog/catname.h"
#include "catalog/catname.h"
#include "catalog/indexing.h"
#include "utils/geo-decls.h"
#include "utils/builtins.h"
#include "catalog/index.h"
#include "catalog/index.h"
#include "access/genam.h"
#include "utils/lsyscache.h"
#include "utils/palloc.h"
#define ALLOC(t, c) (t *)calloc((unsigned)(c), sizeof(t))
#define ALLOC(t, c) (t *)calloc((unsigned)(c), sizeof(t))
#define FIRST_TYPE_OID 16
/* OID of the first type */
#define FIRST_TYPE_OID 16
/* OID of the first type */
...
@@ -191,6 +246,7 @@ void err_out()
...
@@ -191,6 +246,7 @@ void err_out()
*/
*/
static
void
static
void
usage
()
usage
()
{
fprintf
(
stderr
,
"Usage: postgres -boot [-d] [-C] [-F] [-O] [-Q] "
);
fprintf
(
stderr
,
"Usage: postgres -boot [-d] [-C] [-F] [-O] [-Q] "
);
fprintf
(
stderr
,
"[-P portno] [dbName]
\n
"
);
fprintf
(
stderr
,
"[-P portno] [dbName]
\n
"
);
fprintf
(
stderr
,
" d: debug mode
\n
"
);
fprintf
(
stderr
,
" d: debug mode
\n
"
);
...
...
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