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
d62c25d4
Commit
d62c25d4
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
cleanup of long long int atoi test.
parent
5a3fa95c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/utils/adt/numutils.c
+3
-3
3 additions, 3 deletions
src/backend/utils/adt/numutils.c
src/include/port/alpha.h
+0
-1
0 additions, 1 deletion
src/include/port/alpha.h
with
3 additions
and
4 deletions
src/backend/utils/adt/numutils.c
+
3
−
3
View file @
d62c25d4
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.3
3
1999/07/0
9
17:
4
0:3
1
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.3
4
1999/07/
1
0 17:0
3
:3
3
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -76,7 +76,7 @@ pg_atoi(char *s, int size, int c)
...
@@ -76,7 +76,7 @@ pg_atoi(char *s, int size, int c)
switch
(
size
)
switch
(
size
)
{
{
case
sizeof
(
int32
):
case
sizeof
(
int32
):
#if defined(HAVE_LONG_INT_64)
|| defined(HAVE_LONG_LONG_INT_64)
#if defined(HAVE_LONG_INT_64)
/* won't get ERANGE on these with 64-bit longs... */
/* won't get ERANGE on these with 64-bit longs... */
if
(
l
<
INT_MIN
)
if
(
l
<
INT_MIN
)
{
{
...
@@ -88,7 +88,7 @@ pg_atoi(char *s, int size, int c)
...
@@ -88,7 +88,7 @@ pg_atoi(char *s, int size, int c)
errno
=
ERANGE
;
errno
=
ERANGE
;
elog
(
ERROR
,
"pg_atoi: error reading
\"
%s
\"
: %m"
,
s
);
elog
(
ERROR
,
"pg_atoi: error reading
\"
%s
\"
: %m"
,
s
);
}
}
#endif
/* HAVE_LONG_INT_64
or HAVE_LONG_LONG_INT_64
*/
#endif
/* HAVE_LONG_INT_64 */
break
;
break
;
case
sizeof
(
int16
):
case
sizeof
(
int16
):
if
(
l
<
SHRT_MIN
)
if
(
l
<
SHRT_MIN
)
...
...
This diff is collapsed.
Click to expand it.
src/include/port/alpha.h
+
0
−
1
View file @
d62c25d4
#define USE_POSIX_TIME
#define USE_POSIX_TIME
#define DISABLE_XOPEN_NLS
#define DISABLE_XOPEN_NLS
#define HAS_LONG_LONG
#define HAS_TEST_AND_SET
#define HAS_TEST_AND_SET
#include
<sys/mman.h>
/* for msemaphore */
#include
<sys/mman.h>
/* for msemaphore */
typedef
msemaphore
slock_t
;
typedef
msemaphore
slock_t
;
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