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
da361ee2
Commit
da361ee2
authored
Dec 31, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add max oid display, rather than returning just a dash for the last entry.
parent
4d56dbd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
22 deletions
+8
-22
src/backend/parser/gram.c
src/backend/parser/gram.c
+6
-20
src/include/catalog/unused_oids
src/include/catalog/unused_oids
+2
-2
No files found.
src/backend/parser/gram.c
View file @
da361ee2
...
@@ -237,7 +237,7 @@
...
@@ -237,7 +237,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.5
4 1998/12/30 19:56:25 wieck
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.5
5 1998/12/31 20:09:44 momjian
Exp $
*
*
* HISTORY
* HISTORY
* AUTHOR DATE MAJOR EVENT
* AUTHOR DATE MAJOR EVENT
...
@@ -4748,7 +4748,7 @@ static const short yycheck[] = { 3,
...
@@ -4748,7 +4748,7 @@ static const short yycheck[] = { 3,
-
1
,
212
-
1
,
212
};
};
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/usr/
share
/bison.simple"
#line 3 "/usr/
local/bison
/bison.simple"
/* Skeleton output parser for bison,
/* Skeleton output parser for bison,
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
...
@@ -4801,16 +4801,6 @@ void *alloca ();
...
@@ -4801,16 +4801,6 @@ void *alloca ();
#endif
/* not GNU C. */
#endif
/* not GNU C. */
#endif
/* alloca not defined. */
#endif
/* alloca not defined. */
#ifdef __cplusplus
extern
"C"
{
void
yyerror
(
char
*
);
int
yylex
();
};
#else
extern
void
yyerror
(
char
*
);
extern
int
yylex
();
#endif
/* This is the parser code that is written into each bison parser
/* This is the parser code that is written into each bison parser
when the %semantic_parser declaration is not specified in the grammar.
when the %semantic_parser declaration is not specified in the grammar.
It was written by Richard Stallman by simplifying the hairy parser
It was written by Richard Stallman by simplifying the hairy parser
...
@@ -4907,13 +4897,9 @@ int yydebug; /* nonzero means print parse trace */
...
@@ -4907,13 +4897,9 @@ int yydebug; /* nonzero means print parse trace */
#define YYMAXDEPTH 10000
#define YYMAXDEPTH 10000
#endif
#endif
#ifndef YYPARSE_RETURN_TYPE
#define YYPARSE_RETURN_TYPE int
#endif
/* Prevent warning if -Wstrict-prototypes. */
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
#ifdef __GNUC__
YYPARSE_RETURN_TYPE
yyparse
(
void
);
int
yyparse
(
void
);
#endif
#endif
#if __GNUC__ > 1
/* GNU C and GNU C++ define this. */
#if __GNUC__ > 1
/* GNU C and GNU C++ define this. */
...
@@ -4955,7 +4941,7 @@ __yy_memcpy (char *to, char *from, int count)
...
@@ -4955,7 +4941,7 @@ __yy_memcpy (char *to, char *from, int count)
#endif
#endif
#endif
#endif
#line 196 "/usr/
share
/bison.simple"
#line 196 "/usr/
local/bison
/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
/* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *.
into yyparse. The argument should have type void *.
...
@@ -4976,7 +4962,7 @@ __yy_memcpy (char *to, char *from, int count)
...
@@ -4976,7 +4962,7 @@ __yy_memcpy (char *to, char *from, int count)
#define YYPARSE_PARAM_DECL
#define YYPARSE_PARAM_DECL
#endif
/* not YYPARSE_PARAM */
#endif
/* not YYPARSE_PARAM */
YYPARSE_RETURN_TYPE
int
yyparse
(
YYPARSE_PARAM_ARG
)
yyparse
(
YYPARSE_PARAM_ARG
)
YYPARSE_PARAM_DECL
YYPARSE_PARAM_DECL
{
{
...
@@ -10948,7 +10934,7 @@ case 958:
...
@@ -10948,7 +10934,7 @@ case 958:
break
;}
break
;}
}
}
/* the action file gets copied in in place of this dollarsign */
/* the action file gets copied in in place of this dollarsign */
#line 498 "/usr/
share
/bison.simple"
#line 498 "/usr/
local/bison
/bison.simple"
yyvsp
-=
yylen
;
yyvsp
-=
yylen
;
yyssp
-=
yylen
;
yyssp
-=
yylen
;
...
...
src/include/catalog/unused_oids
View file @
da361ee2
#!/bin/sh
#!/bin/sh
# unused_oids
# unused_oids
#
#
# $Header: /cvsroot/pgsql/src/include/catalog/unused_oids,v 1.
1 1997/03/15 06:03:08 scrappy
Exp $
# $Header: /cvsroot/pgsql/src/include/catalog/unused_oids,v 1.
2 1998/12/31 20:09:49 momjian
Exp $
#
#
# finds blocks of oids that have not already been claimed by
# finds blocks of oids that have not already been claimed by
# post_hackers for internal purposes. primarily useful for
# post_hackers for internal purposes. primarily useful for
...
@@ -37,5 +37,5 @@ BEGIN {
...
@@ -37,5 +37,5 @@ BEGIN {
last = $1;
last = $1;
}
}
END {
END {
print last + 1, "-"
;
print last + 1, "-"
, 2^14-1; /* current BootstrapObjectIdData value */
}'
}'
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