Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
aa907f7d
Commit
aa907f7d
authored
28 years ago
by
Marc G. Fournier
Browse files
Options
Downloads
Patches
Plain Diff
-Wall'd
parent
8385d557
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/bootstrap/bootparse.y
+42
-12
42 additions, 12 deletions
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootscanner.l
+27
-3
27 additions, 3 deletions
src/backend/bootstrap/bootscanner.l
src/backend/bootstrap/bootstrap.c
+76
-20
76 additions, 20 deletions
src/backend/bootstrap/bootstrap.c
with
145 additions
and
35 deletions
src/backend/bootstrap/bootparse.y
+
42
−
12
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/tupd
es
c
.h"
#include "
postgr
es.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();\
}
}
...
...
This diff is collapsed.
Click to expand it.
src/backend/bootstrap/bootscanner.l
+
27
−
3
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/0
8
/2
8
0
7:14:09
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.
3
1996/
1
0/2
1
0
8: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"
...
...
This diff is collapsed.
Click to expand it.
src/backend/bootstrap/bootstrap.c
+
76
−
20
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
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment