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
79e78f0b
Commit
79e78f0b
authored
Jul 28, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added SCO support, from Daniel Harris.
parent
5a38a119
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
286 additions
and
202 deletions
+286
-202
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+2
-2
src/backend/executor/execScan.c
src/backend/executor/execScan.c
+2
-1
src/backend/executor/nodeHash.c
src/backend/executor/nodeHash.c
+2
-2
src/backend/executor/nodeHashjoin.c
src/backend/executor/nodeHashjoin.c
+2
-2
src/backend/executor/nodeTee.c
src/backend/executor/nodeTee.c
+2
-1
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomm.c
+4
-2
src/backend/storage/buffer/buf_init.c
src/backend/storage/buffer/buf_init.c
+2
-1
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/bufmgr.c
+2
-1
src/backend/storage/buffer/localbuf.c
src/backend/storage/buffer/localbuf.c
+2
-1
src/backend/storage/file/fd.c
src/backend/storage/file/fd.c
+2
-2
src/backend/storage/large_object/inv_api.c
src/backend/storage/large_object/inv_api.c
+2
-2
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+5
-2
src/backend/utils/Gen_fmgrtab.sh.in
src/backend/utils/Gen_fmgrtab.sh.in
+4
-4
src/backend/utils/adt/float.c
src/backend/utils/adt/float.c
+3
-2
src/backend/utils/adt/misc.c
src/backend/utils/adt/misc.c
+2
-1
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+2
-1
src/configure
src/configure
+226
-170
src/configure.in
src/configure.in
+17
-3
src/template/.similar
src/template/.similar
+1
-0
src/utils/version.c
src/utils/version.c
+2
-2
No files found.
src/backend/commands/vacuum.c
View file @
79e78f0b
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.3
6 1997/06/07 17:34:35
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.3
7 1997/07/28 00:53:40
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include <string.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
#include <unistd.h>
#include <unistd.h>
...
...
src/backend/executor/execScan.c
View file @
79e78f0b
...
@@ -11,11 +11,12 @@
...
@@ -11,11 +11,12 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execScan.c,v 1.
2 1996/10/31 10:11:34 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execScan.c,v 1.
3 1997/07/28 00:53:51 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include "postgres.h"
#include "postgres.h"
...
...
src/backend/executor/nodeHash.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.
8 1997/04/22 03:32:38 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.
9 1997/07/28 00:53:58 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -19,11 +19,11 @@
...
@@ -19,11 +19,11 @@
*
*
*/
*/
#include <sys/types.h>
#include <stdio.h>
/* for sprintf() */
#include <stdio.h>
/* for sprintf() */
#include <math.h>
#include <math.h>
#include <string.h>
#include <string.h>
#include <sys/file.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
...
...
src/backend/executor/nodeHashjoin.c
View file @
79e78f0b
...
@@ -7,13 +7,13 @@
...
@@ -7,13 +7,13 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.
3 1996/11/06 06:47:41 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.
4 1997/07/28 00:54:06 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <string.h>
#include <string.h>
#include <sys/file.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <fcntl.h>
...
...
src/backend/executor/nodeTee.c
View file @
79e78f0b
...
@@ -15,11 +15,12 @@
...
@@ -15,11 +15,12 @@
* ExecEndTee
* ExecEndTee
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/Attic/nodeTee.c,v 1.
5 1996/11/10 03:00:08
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/Attic/nodeTee.c,v 1.
6 1997/07/28 00:54:11
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include "postgres.h"
#include "postgres.h"
...
...
src/backend/libpq/pqcomm.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.1
6 1997/04/17 20:38:16 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.1
7 1997/07/28 00:54:18 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -493,7 +493,9 @@ pq_regoob(void (*fptr)())
...
@@ -493,7 +493,9 @@ pq_regoob(void (*fptr)())
int
fd
=
fileno
(
Pfout
);
int
fd
=
fileno
(
Pfout
);
#if defined(hpux)
#if defined(hpux)
ioctl
(
fd
,
FIOSSAIOOWN
,
getpid
());
ioctl
(
fd
,
FIOSSAIOOWN
,
getpid
());
#else
/* hpux */
#elif defined(sco)
ioctl
(
fd
,
SIOCSPGRP
,
getpid
());
#else
fcntl
(
fd
,
F_SETOWN
,
getpid
());
fcntl
(
fd
,
F_SETOWN
,
getpid
());
#endif
/* hpux */
#endif
/* hpux */
(
void
)
pqsignal
(
SIGURG
,
fptr
);
(
void
)
pqsignal
(
SIGURG
,
fptr
);
...
...
src/backend/storage/buffer/buf_init.c
View file @
79e78f0b
...
@@ -7,10 +7,11 @@
...
@@ -7,10 +7,11 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.
9 1997/04/18 02:53:15 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.
10 1997/07/28 00:54:33 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include <stdio.h>
#include <stdio.h>
#include <math.h>
#include <math.h>
...
...
src/backend/storage/buffer/bufmgr.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.1
4 1997/07/24 20:13:48
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.1
5 1997/07/28 00:54:43
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -46,6 +46,7 @@
...
@@ -46,6 +46,7 @@
* freelist.c -- chooses victim for buffer replacement
* freelist.c -- chooses victim for buffer replacement
* buf_table.c -- manages the buffer lookup table
* buf_table.c -- manages the buffer lookup table
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
...
...
src/backend/storage/buffer/localbuf.c
View file @
79e78f0b
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.
7 1997/05/20 11:30:32 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/localbuf.c,v 1.
8 1997/07/28 00:54:48 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
...
...
src/backend/storage/file/fd.c
View file @
79e78f0b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Id: fd.c,v 1.1
8 1997/05/23 02:56:48 vadim
Exp $
* $Id: fd.c,v 1.1
9 1997/07/28 00:54:52 momjian
Exp $
*
*
* NOTES:
* NOTES:
*
*
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <stdio.h>
#include <stdio.h>
#include <sys/file.h>
#include <sys/file.h>
#include <sys/param.h>
#include <sys/param.h>
...
@@ -44,7 +45,6 @@
...
@@ -44,7 +45,6 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <string.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <fcntl.h>
#include "postgres.h"
#include "postgres.h"
...
...
src/backend/storage/large_object/inv_api.c
View file @
79e78f0b
...
@@ -8,14 +8,14 @@
...
@@ -8,14 +8,14 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.1
0 1997/06/05 22:59:29
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.1
1 1997/07/28 00:55:08
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <stdio.h>
/* for sprintf() */
#include <stdio.h>
/* for sprintf() */
#include <string.h>
#include <string.h>
#include <sys/file.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include "postgres.h"
#include "postgres.h"
...
...
src/backend/tcop/postgres.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.3
4 1997/07/24 20:15:03
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.3
5 1997/07/28 00:55:28
momjian Exp $
*
*
* NOTES
* NOTES
* this is the "main" module of the postgres backend and
* this is the "main" module of the postgres backend and
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
#ifndef MAXHOSTNAMELEN
#ifndef MAXHOSTNAMELEN
#include <netdb.h>
/* for MAXHOSTNAMELEN on some */
#include <netdb.h>
/* for MAXHOSTNAMELEN on some */
#endif
#endif
#ifndef MAXHOSTNAMELEN
/* for MAXHOSTNAMELEN under sco3.2v5.0.2 */
#include <sys/socket.h>
#endif
#include <errno.h>
#include <errno.h>
#ifdef aix
#ifdef aix
#include <sys/select.h>
#include <sys/select.h>
...
@@ -1271,7 +1274,7 @@ PostgresMain(int argc, char *argv[])
...
@@ -1271,7 +1274,7 @@ PostgresMain(int argc, char *argv[])
*/
*/
if
(
IsUnderPostmaster
==
false
)
{
if
(
IsUnderPostmaster
==
false
)
{
puts
(
"
\n
POSTGRES backend interactive interface"
);
puts
(
"
\n
POSTGRES backend interactive interface"
);
puts
(
"$Revision: 1.3
4 $ $Date: 1997/07/24 20:15:03
$"
);
puts
(
"$Revision: 1.3
5 $ $Date: 1997/07/28 00:55:28
$"
);
}
}
/* ----------------
/* ----------------
...
...
src/backend/utils/Gen_fmgrtab.sh.in
View file @
79e78f0b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#
#
#
#
# IDENTIFICATION
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
3 1997/04/24 20:30:16 scrappy
Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
4 1997/07/28 00:55:41 momjian
Exp $
#
#
# NOTES
# NOTES
# Passes any -D options on to cpp prior to generating the list
# Passes any -D options on to cpp prior to generating the list
...
@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
...
@@ -81,7 +81,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
*
$Id
: Gen_fmgrtab.sh.in,v 1.
3 1997/04/24 20:30:16 scrappy
Exp $
*
$Id
: Gen_fmgrtab.sh.in,v 1.
4 1997/07/28 00:55:41 momjian
Exp $
*
*
* NOTES
* NOTES
* ******************************
* ******************************
...
@@ -152,7 +152,7 @@ extern void load_file(char *filename);
...
@@ -152,7 +152,7 @@ extern void load_file(char *filename);
FuNkYfMgRsTuFf
FuNkYfMgRsTuFf
awk
'{ print $2, $1; }'
$RAWFILE
|
\
awk
'{ print $2, $1; }'
$RAWFILE
|
\
@TR@
'[a-z]'
'[A-Z]'
|
\
@TR@
@TRARGS@
|
\
sed
-e
's/^/#define F_/'
>>
$HFILE
sed
-e
's/^/#define F_/'
>>
$HFILE
cat
>>
$HFILE
<<
FuNkYfMgRsTuFf
cat
>>
$HFILE
<<
FuNkYfMgRsTuFf
...
@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
...
@@ -175,7 +175,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
3 1997/04/24 20:30:16 scrappy
Exp $
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.
4 1997/07/28 00:55:41 momjian
Exp $
*
*
* NOTES
* NOTES
*
*
...
...
src/backend/utils/adt/float.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.1
6 1997/06/03 13:58:06 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.1
7 1997/07/28 00:55:49 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -1446,7 +1446,8 @@ static int isinf(x)
...
@@ -1446,7 +1446,8 @@ static int isinf(x)
}
}
#endif
/* alpha */
#endif
/* alpha */
#if defined(sparc_solaris) || defined(i386_solaris) || defined(svr4)
#if defined(sparc_solaris) || defined(i386_solaris) || defined(svr4) || \
defined(sco)
#include <ieeefp.h>
#include <ieeefp.h>
static
int
static
int
isinf
(
d
)
isinf
(
d
)
...
...
src/backend/utils/adt/misc.c
View file @
79e78f0b
...
@@ -7,10 +7,11 @@
...
@@ -7,10 +7,11 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.
6 1997/04/27 19:20:14 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/misc.c,v 1.
7 1997/07/28 00:55:58 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include "postgres.h"
#include "postgres.h"
#include "utils/datum.h"
#include "utils/datum.h"
...
...
src/backend/utils/cache/relcache.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.
9 1997/06/04 08:56:51 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.
10 1997/07/28 00:56:04 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
* careful....
* careful....
*
*
*/
*/
#include <sys/types.h>
#include <stdio.h>
/* for sprintf() */
#include <stdio.h>
/* for sprintf() */
#include <errno.h>
#include <errno.h>
#include <sys/file.h>
#include <sys/file.h>
...
...
src/configure
View file @
79e78f0b
This diff is collapsed.
Click to expand it.
src/configure.in
View file @
79e78f0b
...
@@ -20,6 +20,7 @@ nextstep*) PORTNAME='nextstep';;
...
@@ -20,6 +20,7 @@ nextstep*) PORTNAME='nextstep';;
irix*) PORTNAME='irix5';;
irix*) PORTNAME='irix5';;
hpux*) PORTNAME='hpux';;
hpux*) PORTNAME='hpux';;
osf*) PORTNAME='alpha';;
osf*) PORTNAME='alpha';;
sco*) PORTNAME='sco';;
sysv4*) PORTNAME='svr4';;
sysv4*) PORTNAME='svr4';;
sysv4.2*)
sysv4.2*)
case "$host_vendor" in
case "$host_vendor" in
...
@@ -258,8 +259,7 @@ dnl AC_SUBST(HAVECXX)
...
@@ -258,8 +259,7 @@ dnl AC_SUBST(HAVECXX)
dnl ****************************************************************
dnl ****************************************************************
HAVECXX='HAVE_Cplusplus=false'
HAVECXX='HAVE_Cplusplus=false'
AC_SUBST(HAVECXX)
AC_SUBST(HAVECXX)
AC_PATH_PROGS(INSTALL, ginstall installbsd install bsdinst, scoinst, NONE, $PATH)
AC_PATH_PROGS(INSTALL, ginstall installbsd install bsdinst, NONE, $PATH)
if test $INSTALL = "NONE"
if test $INSTALL = "NONE"
then
then
echo "- No Install Script found - aborting."
echo "- No Install Script found - aborting."
...
@@ -271,7 +271,7 @@ INSTL_EXE_OPTS="-m 555"
...
@@ -271,7 +271,7 @@ INSTL_EXE_OPTS="-m 555"
INSTL_LIB_OPTS="-m 664"
INSTL_LIB_OPTS="-m 664"
case "`basename $INSTALL`" in
case "`basename $INSTALL`" in
install|installbsd)
install|installbsd
|scoinst
)
INSTLOPTS="-c $INSTLOPTS"
INSTLOPTS="-c $INSTLOPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_EXE_OPTS="-c $INSTL_EXE_OPTS"
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS";;
INSTL_LIB_OPTS="-c $INSTL_LIB_OPTS";;
...
@@ -313,6 +313,19 @@ AC_PATH_PROG(ipcs, ipcs)
...
@@ -313,6 +313,19 @@ AC_PATH_PROG(ipcs, ipcs)
AC_PATH_PROG(ipcrm, ipcrm)
AC_PATH_PROG(ipcrm, ipcrm)
AC_PATH_PROGS(TR, trbsd tr, NOT_FOUND)
AC_PATH_PROGS(TR, trbsd tr, NOT_FOUND)
dnl Check tr flags to convert from lower to upper case
TRSTRINGS=`echo ABCdef | $TR "'[[a-z]]' '[[A-Z]]'" | grep ABCDEF`
TRCLASS=`echo ABCdef | $TR "[[:lower:]]" "[[:upper:]]" | grep ABCDEF`
if test "$TRSTRINGS" = "ABCDEF"; then
TRARGS="'[[a-z]]' '[[A-Z]]'"
elif test "$TRCLASS" = "ABCDEF"; then
TRARGS="\"[[:lower:]]\" \"[[:upper:]]\""
else
AC_MSG_ERROR("Can\'t find method to covert from upper to lower case with tr")
fi
AC_SUBST(TRARGS)
dnl Changes to look for YACC. We have three choices (in order of pref.)
dnl Changes to look for YACC. We have three choices (in order of pref.)
dnl (1) We specify in YACC and YFLAGS what we want
dnl (1) We specify in YACC and YFLAGS what we want
dnl (2) We have bison and we use bison -y
dnl (2) We have bison and we use bison -y
...
@@ -357,6 +370,7 @@ AC_CHECK_LIB(compat, main)
...
@@ -357,6 +370,7 @@ AC_CHECK_LIB(compat, main)
AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(crypt, main)
AC_CHECK_LIB(crypt, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
dnl Checks for header files.
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDC
...
...
src/template/.similar
View file @
79e78f0b
...
@@ -2,6 +2,7 @@ alpha-dec-osf4.0=alpha
...
@@ -2,6 +2,7 @@ alpha-dec-osf4.0=alpha
i386-pc-bsdi2.0=bsdi-2.0
i386-pc-bsdi2.0=bsdi-2.0
i386-pc-bsdi2.1=bsdi-2.1
i386-pc-bsdi2.1=bsdi-2.1
i386-pc-bsdi3.0=bsdi-3.0
i386-pc-bsdi3.0=bsdi-3.0
i586-pc-sco3.2v5.0.2=sco
i386-unknown-freebsd3.0=freebsd
i386-unknown-freebsd3.0=freebsd
i386-unknown-netbsd1.2.1=netbsd
i386-unknown-netbsd1.2.1=netbsd
mips-sgi-irix5.3=irix5
mips-sgi-irix5.3=irix5
...
...
src/utils/version.c
View file @
79e78f0b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/utils/Attic/version.c,v 1.
4 1997/02/14 04:19:07
momjian Exp $
* $Header: /cvsroot/pgsql/src/utils/Attic/version.c,v 1.
5 1997/07/28 00:57:08
momjian Exp $
*
*
* NOTES
* NOTES
* XXX eventually, should be able to handle version identifiers
* XXX eventually, should be able to handle version identifiers
...
@@ -17,9 +17,9 @@
...
@@ -17,9 +17,9 @@
* stuff that does not cinterface.a
* stuff that does not cinterface.a
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#include <sys/types.h>
#include <sys/file.h>
#include <sys/file.h>
#include <fcntl.h>
/* For open() flags */
#include <fcntl.h>
/* For open() flags */
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <ctype.h>
#include <ctype.h>
#include <string.h>
#include <string.h>
...
...
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