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
df6a9e63
Commit
df6a9e63
authored
Oct 31, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more removal of PORTNAME_*
parent
4df1a414
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
39 additions
and
39 deletions
+39
-39
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+8
-8
src/backend/utils/adt/float.c
src/backend/utils/adt/float.c
+11
-11
src/backend/utils/adt/misc.c
src/backend/utils/adt/misc.c
+7
-7
src/backend/utils/adt/numutils.c
src/backend/utils/adt/numutils.c
+5
-5
src/backend/utils/error/elog.c
src/backend/utils/error/elog.c
+4
-4
src/backend/utils/error/exc.c
src/backend/utils/error/exc.c
+4
-4
No files found.
src/backend/tcop/postgres.c
View file @
df6a9e63
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.1
1 1996/10/30 21:18:22
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.1
2 1996/10/31 10:20:56
scrappy Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -16,11 +16,11 @@
*-------------------------------------------------------------------------
*/
#include "libpq/pqsignal.h"
/* substitute for <signal.h> */
#if defined(
PORTNAME_
linux)
#if defined(linux)
#ifndef __USE_POSIX
#define __USE_POSIX
#endif
#endif
/* defined(
PORTNAME_
linux) */
#endif
/* defined(linux) */
#include <setjmp.h>
#include <stdio.h>
#include <string.h>
...
...
@@ -31,9 +31,9 @@
#include <netdb.h>
/* for MAXHOSTNAMELEN on some */
#endif
#include <errno.h>
#ifdef
PORTNAME_
aix
#ifdef aix
#include <sys/select.h>
#endif
/*
PORTNAME_
aix */
#endif
/* aix */
#include "postgres.h"
...
...
@@ -104,13 +104,13 @@ static bool IsEmptyQuery = false;
Relation
reldesc
;
/* current relation descritor */
char
relname
[
80
];
/* current relation name */
#if defined(WIN32) || defined(
PORTNAME_
next)
#if defined(WIN32) || defined(next)
jmp_buf
Warn_restart
;
#define sigsetjmp(x,y) setjmp(x)
#define siglongjmp longjmp
#else
sigjmp_buf
Warn_restart
;
#endif
/*defined(WIN32) || defined(
PORTNAME_
next) */
#endif
/*defined(WIN32) || defined(next) */
int
InWarn
;
extern
int
NBuffers
;
...
...
@@ -1265,7 +1265,7 @@ PostgresMain(int argc, char *argv[])
*/
if
(
IsUnderPostmaster
==
false
)
{
puts
(
"
\n
POSTGRES backend interactive interface"
);
puts
(
"$Revision: 1.1
1 $ $Date: 1996/10/30 21:18:22
$"
);
puts
(
"$Revision: 1.1
2 $ $Date: 1996/10/31 10:20:56
$"
);
}
/* ----------------
...
...
src/backend/utils/adt/float.c
View file @
df6a9e63
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.
5 1996/10/26 05:03:24 bryanh
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.
6 1996/10/31 10:23:17 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1229,7 +1229,7 @@ double x;
#ifdef NEED_ISINF
#if defined(
PORTNAME_
aix)
#if defined(aix)
#ifdef CLASS_CONFLICT
/* we want the math symbol */
#undef class
...
...
@@ -1245,9 +1245,9 @@ static int isinf(x)
return
(
-
1
);
return
(
0
);
}
#endif
/*
PORTNAME_
aix */
#endif
/* aix */
#if defined(
PORTNAME_
ultrix4)
#if defined(ultrix4)
#include <fp_class.h>
static
int
isinf
(
x
)
double
x
;
...
...
@@ -1259,9 +1259,9 @@ static int isinf(x)
return
(
-
1
);
return
(
0
);
}
#endif
/*
PORTNAME_
ultrix4 */
#endif
/* ultrix4 */
#if defined(
PORTNAME_
alpha)
#if defined(alpha)
#include <fp_class.h>
static
int
isinf
(
x
)
double
x
;
...
...
@@ -1273,9 +1273,9 @@ static int isinf(x)
return
(
-
1
);
return
(
0
);
}
#endif
/*
PORTNAME_
alpha */
#endif
/* alpha */
#if defined(sparc_solaris) || defined(i386_solaris) || defined(
PORTNAME_
svr4)
#if defined(sparc_solaris) || defined(i386_solaris) || defined(svr4)
#include <ieeefp.h>
static
int
isinf
(
d
)
...
...
@@ -1294,9 +1294,9 @@ double d;
return
(
0
);
}
#endif
/*
PORTNAME_
sparc_solaris */
#endif
/* sparc_solaris */
#if defined(
PORTNAME_
irix5)
#if defined(irix5)
#include <ieeefp.h>
static
int
isinf
(
d
)
...
...
@@ -1315,6 +1315,6 @@ double d;
return
(
0
);
}
#endif
/*
PORTNAME_
irix5 */
#endif
/* irix5 */
#endif
/* NEED_ISINF */
src/backend/utils/adt/misc.c
View file @
df6a9e63
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.
3 1996/07/22 21:56:02
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.
4 1996/10/31 10:23:18
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -17,12 +17,12 @@
#include "catalog/pg_type.h"
#include "utils/builtins.h"
#if !defined(
PORTNAME_
aix) && \
!defined(
PORTNAME_
BSD44_derived) && \
!defined(
PORTNAME_
bsdi) && \
!defined(
PORTNAME_
bsdi_2_1) && \
!defined(
PORTNAME_
irix5) && \
!defined(
PORTNAME_
linux)
#if !defined(aix) && \
!defined(BSD44_derived) && \
!defined(bsdi) && \
!defined(bsdi_2_1) && \
!defined(irix5) && \
!defined(linux)
extern
int
random
();
extern
int
srandom
(
unsigned
);
#endif
...
...
src/backend/utils/adt/numutils.c
View file @
df6a9e63
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.
3 1996/07/22 21:56:03
scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.
4 1996/10/31 10:23:19
scrappy Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -132,9 +132,9 @@ ltoa(int32 l, char *a)
int
ftoa
(
double
value
,
char
*
ascii
,
int
width
,
int
prec1
,
char
format
)
{
#if defined(
PORTNAME_
BSD44_derived) || \
defined(
PORTNAME_
bsdi) || \
defined(
PORTNAME_
bsdi_2_1)
#if defined(BSD44_derived) || \
defined(bsdi) || \
defined(bsdi_2_1)
char
out
[
256
];
char
fmt
[
256
];
int
ret
;
...
...
@@ -281,7 +281,7 @@ ftoa(double value, char *ascii, int width, int prec1, char format)
*
a
=
0
;
avail
=
a
-
ascii
;
return
(
avail
);
#endif
/* !
PORTNAME_
BSD44_derived */
#endif
/* !BSD44_derived */
}
/*
...
...
src/backend/utils/error/elog.c
View file @
df6a9e63
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.
6 1996/10/13 18:39:41 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.
7 1996/10/31 10:23:26 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -49,9 +49,9 @@ elog(int lev, const char *fmt, ... )
register
char
*
bp
;
register
const
char
*
cp
;
extern
int
errno
,
sys_nerr
;
#if !defined(
PORTNAME_
BSD44_derived) && \
!defined(
PORTNAME_
bsdi) && \
!defined(
PORTNAME_
bsdi_2_1)
#if !defined(BSD44_derived) && \
!defined(bsdi) && \
!defined(bsdi_2_1)
extern
char
*
sys_errlist
[];
#endif
/* bsd derived */
#ifndef PG_STANDALONE
...
...
src/backend/utils/error/exc.c
View file @
df6a9e63
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.
3 1996/07/22 21:58
:28 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.
4 1996/10/31 10:23
:28 scrappy Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
...
...
@@ -90,9 +90,9 @@ ExcPrint(Exception *excP,
{
extern
int
errno
;
extern
int
sys_nerr
;
#if !defined(
PORTNAME_
BSD44_derived) && \
!defined(
PORTNAME_
bsdi) && \
!defined(
PORTNAME_
bsdi_2_1)
#if !defined(BSD44_derived) && \
!defined(bsdi) && \
!defined(bsdi_2_1)
extern
char
*
sys_errlist
[];
#endif
/* ! bsd_derived */
...
...
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