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
8adc838f
Commit
8adc838f
authored
27 years ago
by
Marc G. Fournier
Browse files
Options
Downloads
Patches
Plain Diff
Various cleanups for the i386_solaris environment
parent
43416529
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/parser/scan.c
+14
-14
14 additions, 14 deletions
src/backend/parser/scan.c
src/backend/utils/adt/float.c
+1
-8
1 addition, 8 deletions
src/backend/utils/adt/float.c
src/include/storage/s_lock.h
+2
-2
2 additions, 2 deletions
src/include/storage/s_lock.h
with
17 additions
and
24 deletions
src/backend/parser/scan.c
+
14
−
14
View file @
8adc838f
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.
6
1998/01/
05 03:32:34 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.
7
1998/01/
13 19:28:29 scrappy
Exp $
*/
#define FLEX_SCANNER
...
...
@@ -539,7 +539,7 @@ char *yytext;
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.
6
1998/01/
05 03:32:34 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/scan.c,v 1.
7
1998/01/
13 19:28:29 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -954,7 +954,7 @@ YY_RULE_SETUP
errno
=
0
;
yylval
.
ival
=
strtol
((
char
*
)
literal
,
&
endptr
,
2
);
if
(
*
endptr
!=
'\0'
||
errno
==
ERANGE
)
elog
(
AB
OR
T
,
"Bad binary integer input '%s'"
,
literal
);
elog
(
ERR
OR
,
"Bad binary integer input '%s'"
,
literal
);
return
(
ICONST
);
}
YY_BREAK
...
...
@@ -965,7 +965,7 @@ YY_RULE_SETUP
#line 206 "scan.l"
{
if
((
llen
+
yyleng
)
>
(
MAX_PARSE_BUFFER
-
1
))
elog
(
AB
OR
T
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
elog
(
ERR
OR
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
memcpy
(
literal
+
llen
,
yytext
,
yyleng
+
1
);
llen
+=
yyleng
;
}
...
...
@@ -997,7 +997,7 @@ YY_RULE_SETUP
errno
=
0
;
yylval
.
ival
=
strtol
((
char
*
)
literal
,
&
endptr
,
16
);
if
(
*
endptr
!=
'\0'
||
errno
==
ERANGE
)
elog
(
AB
OR
T
,
"Bad hexadecimal integer input '%s'"
,
literal
);
elog
(
ERR
OR
,
"Bad hexadecimal integer input '%s'"
,
literal
);
return
(
ICONST
);
}
YY_BREAK
...
...
@@ -1026,7 +1026,7 @@ YY_RULE_SETUP
#line 243 "scan.l"
{
if
((
llen
+
yyleng
)
>
(
MAX_PARSE_BUFFER
-
1
))
elog
(
AB
OR
T
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
elog
(
ERR
OR
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
memcpy
(
literal
+
llen
,
yytext
,
yyleng
+
1
);
llen
+=
yyleng
;
}
...
...
@@ -1036,7 +1036,7 @@ YY_RULE_SETUP
#line 249 "scan.l"
{
if
((
llen
+
yyleng
-
1
)
>
(
MAX_PARSE_BUFFER
-
1
))
elog
(
AB
OR
T
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
elog
(
ERR
OR
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
memcpy
(
literal
+
llen
,
yytext
,
yyleng
+
1
);
*
(
literal
+
llen
)
=
'\''
;
llen
+=
yyleng
;
...
...
@@ -1047,7 +1047,7 @@ YY_RULE_SETUP
#line 257 "scan.l"
{
if
((
llen
+
yyleng
-
1
)
>
(
MAX_PARSE_BUFFER
-
1
))
elog
(
AB
OR
T
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
elog
(
ERR
OR
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
memcpy
(
literal
+
llen
,
yytext
,
yyleng
+
1
);
llen
+=
yyleng
;
}
...
...
@@ -1081,7 +1081,7 @@ YY_RULE_SETUP
#line 277 "scan.l"
{
if
((
llen
+
yyleng
)
>
(
MAX_PARSE_BUFFER
-
1
))
elog
(
AB
OR
T
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
elog
(
ERR
OR
,
"quoted string parse buffer of %d chars exceeded"
,
MAX_PARSE_BUFFER
);
memcpy
(
literal
+
llen
,
yytext
,
yyleng
+
1
);
llen
+=
yyleng
;
}
...
...
@@ -1159,7 +1159,7 @@ YY_RULE_SETUP
errno
=
0
;
yylval
.
ival
=
strtol
((
char
*
)
yytext
,
&
endptr
,
10
);
if
(
*
endptr
!=
'\0'
||
errno
==
ERANGE
)
elog
(
AB
OR
T
,
"Bad integer input '%s'"
,
yytext
);
elog
(
ERR
OR
,
"Bad integer input '%s'"
,
yytext
);
return
(
ICONST
);
}
YY_BREAK
...
...
@@ -1173,7 +1173,7 @@ YY_RULE_SETUP
errno
=
0
;
yylval
.
dval
=
strtod
(((
char
*
)
yytext
),
&
endptr
);
if
(
*
endptr
!=
'\0'
||
errno
==
ERANGE
)
elog
(
AB
OR
T
,
"Bad float8 input '%s'"
,
yytext
);
elog
(
ERR
OR
,
"Bad float8 input '%s'"
,
yytext
);
CheckFloat8Val
(
yylval
.
dval
);
return
(
FCONST
);
}
...
...
@@ -1187,7 +1187,7 @@ YY_RULE_SETUP
errno
=
0
;
yylval
.
ival
=
strtol
((
char
*
)
yytext
,
&
endptr
,
10
);
if
(
*
endptr
!=
'\0'
||
errno
==
ERANGE
)
elog
(
AB
OR
T
,
"Bad integer input '%s'"
,
yytext
);
elog
(
ERR
OR
,
"Bad integer input '%s'"
,
yytext
);
return
(
ICONST
);
}
YY_BREAK
...
...
@@ -1200,7 +1200,7 @@ YY_RULE_SETUP
errno
=
0
;
yylval
.
dval
=
strtod
((
char
*
)
yytext
,
&
endptr
);
if
(
*
endptr
!=
'\0'
||
errno
==
ERANGE
)
elog
(
AB
OR
T
,
"Bad float input '%s'"
,
yytext
);
elog
(
ERR
OR
,
"Bad float input '%s'"
,
yytext
);
CheckFloat8Val
(
yylval
.
dval
);
return
(
FCONST
);
}
...
...
@@ -2133,7 +2133,7 @@ int main()
void
yyerror
(
char
message
[])
{
elog
(
AB
OR
T
,
"parser: %s at or near
\"
%s
\"
"
,
message
,
yytext
);
elog
(
ERR
OR
,
"parser: %s at or near
\"
%s
\"
"
,
message
,
yytext
);
}
int
yywrap
()
...
...
This diff is collapsed.
Click to expand it.
src/backend/utils/adt/float.c
+
1
−
8
View file @
8adc838f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.2
6
1998/01/
05 16:39:59 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.2
7
1998/01/
13 19:28:32 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -105,15 +105,8 @@ extern double rint(double x);
#endif
#ifndef HAVE_ISINF
#define isinf my_isinf
static
int
isinf
(
double
x
);
#else
extern
int
isinf
(
double
x
);
#endif
#endif
/* ========== USER I/O ROUTINES ========== */
...
...
This diff is collapsed.
Click to expand it.
src/include/storage/s_lock.h
+
2
−
2
View file @
8adc838f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.1
5
1998/01/
04
19:
1
2:3
8
scrappy Exp $
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.1
6
1998/01/
13
19:2
8
:3
9
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -117,7 +117,7 @@
* Solaris 2
*/
#if defined(i386_
solaris
) || \
#if
(
defined(
__
i386_
_) && defined(__sun__)
) || \
defined(sparc_solaris)
/* for xxxxx_solaris, this is defined in port/.../tas.s */
...
...
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