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
33f2614a
Commit
33f2614a
authored
May 30, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove SEP_CHAR, replace with / or '/' as appropriate.
parent
f032b70c
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
55 additions
and
62 deletions
+55
-62
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+8
-9
src/backend/catalog/catalog.c
src/backend/catalog/catalog.c
+7
-8
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+2
-3
src/backend/storage/file/fd.c
src/backend/storage/file/fd.c
+3
-3
src/backend/utils/cache/relcache.c
src/backend/utils/cache/relcache.c
+5
-5
src/backend/utils/error/elog.c
src/backend/utils/error/elog.c
+3
-3
src/backend/utils/misc/database.c
src/backend/utils/misc/database.c
+7
-10
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+16
-16
src/bin/psql/startup.c
src/bin/psql/startup.c
+3
-3
src/include/c.h
src/include/c.h
+1
-2
No files found.
src/backend/access/transam/xlog.c
View file @
33f2614a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.6
6 2001/05/22 16:52:49
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.6
7 2001/05/30 14:15:25
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -336,8 +336,8 @@ static ControlFileData *ControlFile = NULL;
...
@@ -336,8 +336,8 @@ static ControlFileData *ControlFile = NULL;
#define XLogFileName(path, log, seg) \
#define XLogFileName(path, log, seg) \
snprintf(path, MAXPGPATH, "%s
%c
%08X%08X", \
snprintf(path, MAXPGPATH, "%s
/
%08X%08X", \
XLogDir,
SEP_CHAR,
log, seg)
XLogDir, log, seg)
#define PrevBufIdx(idx) \
#define PrevBufIdx(idx) \
(((idx) == 0) ? XLogCtl->XLogCacheBlck : ((idx) - 1))
(((idx) == 0) ? XLogCtl->XLogCacheBlck : ((idx) - 1))
...
@@ -1300,8 +1300,8 @@ XLogFileInit(uint32 log, uint32 seg,
...
@@ -1300,8 +1300,8 @@ XLogFileInit(uint32 log, uint32 seg,
* up pre-creating an extra log segment. That seems OK, and better
* up pre-creating an extra log segment. That seems OK, and better
* than holding the spinlock throughout this lengthy process.
* than holding the spinlock throughout this lengthy process.
*/
*/
snprintf
(
tmppath
,
MAXPGPATH
,
"%s
%c
xlogtemp.%d"
,
snprintf
(
tmppath
,
MAXPGPATH
,
"%s
/
xlogtemp.%d"
,
XLogDir
,
SEP_CHAR
,
(
int
)
getpid
());
XLogDir
,
(
int
)
getpid
());
unlink
(
tmppath
);
unlink
(
tmppath
);
...
@@ -1495,7 +1495,7 @@ MoveOfflineLogs(uint32 log, uint32 seg)
...
@@ -1495,7 +1495,7 @@ MoveOfflineLogs(uint32 log, uint32 seg)
{
{
elog
(
LOG
,
"MoveOfflineLogs: %s %s"
,
(
XLOG_archive_dir
[
0
])
?
elog
(
LOG
,
"MoveOfflineLogs: %s %s"
,
(
XLOG_archive_dir
[
0
])
?
"archive"
:
"remove"
,
xlde
->
d_name
);
"archive"
:
"remove"
,
xlde
->
d_name
);
sprintf
(
path
,
"%s
%c%s"
,
XLogDir
,
SEP_CHAR
,
xlde
->
d_name
);
sprintf
(
path
,
"%s
/%s"
,
XLogDir
,
xlde
->
d_name
);
if
(
XLOG_archive_dir
[
0
]
==
0
)
if
(
XLOG_archive_dir
[
0
]
==
0
)
unlink
(
path
);
unlink
(
path
);
}
}
...
@@ -1911,9 +1911,8 @@ void
...
@@ -1911,9 +1911,8 @@ void
XLOGPathInit
(
void
)
XLOGPathInit
(
void
)
{
{
/* Init XLOG file paths */
/* Init XLOG file paths */
snprintf
(
XLogDir
,
MAXPGPATH
,
"%s%cpg_xlog"
,
DataDir
,
SEP_CHAR
);
snprintf
(
XLogDir
,
MAXPGPATH
,
"%s/pg_xlog"
,
DataDir
);
snprintf
(
ControlFilePath
,
MAXPGPATH
,
"%s%cglobal%cpg_control"
,
snprintf
(
ControlFilePath
,
MAXPGPATH
,
"%s/global/pg_control"
,
DataDir
);
DataDir
,
SEP_CHAR
,
SEP_CHAR
);
}
}
static
void
static
void
...
...
src/backend/catalog/catalog.c
View file @
33f2614a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.4
0 2001/03/22 03:59:19
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.4
1 2001/05/30 14:15:26
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -80,7 +80,7 @@ relpath_blind(const char *dbname, const char *relname,
...
@@ -80,7 +80,7 @@ relpath_blind(const char *dbname, const char *relname,
{
{
/* XXX why is this inconsistent with relpath() ? */
/* XXX why is this inconsistent with relpath() ? */
path
=
(
char
*
)
palloc
(
strlen
(
DatabasePath
)
+
sizeof
(
NameData
)
+
2
);
path
=
(
char
*
)
palloc
(
strlen
(
DatabasePath
)
+
sizeof
(
NameData
)
+
2
);
sprintf
(
path
,
"%s
%c%s"
,
DatabasePath
,
SEP_CHAR
,
relname
);
sprintf
(
path
,
"%s
/%s"
,
DatabasePath
,
relname
);
}
}
else
else
{
{
...
@@ -99,7 +99,7 @@ relpath_blind(const char *dbname, const char *relname,
...
@@ -99,7 +99,7 @@ relpath_blind(const char *dbname, const char *relname,
elog
(
FATAL
,
"relpath_blind: can't expand path for db %s"
,
elog
(
FATAL
,
"relpath_blind: can't expand path for db %s"
,
dbname
);
dbname
);
path
=
(
char
*
)
palloc
(
strlen
(
dbpath
)
+
sizeof
(
NameData
)
+
2
);
path
=
(
char
*
)
palloc
(
strlen
(
dbpath
)
+
sizeof
(
NameData
)
+
2
);
sprintf
(
path
,
"%s
%c%s"
,
dbpath
,
SEP_CHAR
,
relname
);
sprintf
(
path
,
"%s
/%s"
,
dbpath
,
relname
);
pfree
(
dbpath
);
pfree
(
dbpath
);
}
}
return
path
;
return
path
;
...
@@ -122,13 +122,12 @@ relpath(RelFileNode rnode)
...
@@ -122,13 +122,12 @@ relpath(RelFileNode rnode)
{
{
/* Shared system relations live in {datadir}/global */
/* Shared system relations live in {datadir}/global */
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
8
+
sizeof
(
NameData
)
+
1
);
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
8
+
sizeof
(
NameData
)
+
1
);
sprintf
(
path
,
"%s
%cglobal%c%u"
,
DataDir
,
SEP_CHAR
,
SEP_CHAR
,
rnode
.
relNode
);
sprintf
(
path
,
"%s
/global/%u"
,
DataDir
,
rnode
.
relNode
);
}
}
else
else
{
{
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
6
+
2
*
sizeof
(
NameData
)
+
3
);
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
6
+
2
*
sizeof
(
NameData
)
+
3
);
sprintf
(
path
,
"%s%cbase%c%u%c%u"
,
DataDir
,
SEP_CHAR
,
SEP_CHAR
,
sprintf
(
path
,
"%s/base/%u/%u"
,
DataDir
,
rnode
.
tblNode
,
rnode
.
relNode
);
rnode
.
tblNode
,
SEP_CHAR
,
rnode
.
relNode
);
}
}
return
path
;
return
path
;
}
}
...
@@ -148,12 +147,12 @@ GetDatabasePath(Oid tblNode)
...
@@ -148,12 +147,12 @@ GetDatabasePath(Oid tblNode)
{
{
/* Shared system relations live in {datadir}/global */
/* Shared system relations live in {datadir}/global */
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
8
);
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
8
);
sprintf
(
path
,
"%s
%cglobal"
,
DataDir
,
SEP_CHAR
);
sprintf
(
path
,
"%s
/global"
,
DataDir
);
}
}
else
else
{
{
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
6
+
sizeof
(
NameData
)
+
1
);
path
=
(
char
*
)
palloc
(
strlen
(
DataDir
)
+
6
+
sizeof
(
NameData
)
+
1
);
sprintf
(
path
,
"%s
%cbase%c%u"
,
DataDir
,
SEP_CHAR
,
SEP_CHAR
,
tblNode
);
sprintf
(
path
,
"%s
/base/%u"
,
DataDir
,
tblNode
);
}
}
return
path
;
return
path
;
}
}
...
...
src/backend/postmaster/postmaster.c
View file @
33f2614a
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.21
4 2001/05/25 15:45:33
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.21
5 2001/05/30 14:15:26
momjian Exp $
*
*
* NOTES
* NOTES
*
*
...
@@ -272,8 +272,7 @@ checkDataDir(const char *checkdir)
...
@@ -272,8 +272,7 @@ checkDataDir(const char *checkdir)
ExitPostmaster
(
2
);
ExitPostmaster
(
2
);
}
}
snprintf
(
path
,
sizeof
(
path
),
"%s%cglobal%cpg_control"
,
snprintf
(
path
,
sizeof
(
path
),
"%s/global/pg_control"
,
checkdir
);
checkdir
,
SEP_CHAR
,
SEP_CHAR
);
fp
=
AllocateFile
(
path
,
PG_BINARY_R
);
fp
=
AllocateFile
(
path
,
PG_BINARY_R
);
if
(
fp
==
NULL
)
if
(
fp
==
NULL
)
...
...
src/backend/storage/file/fd.c
View file @
33f2614a
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.7
8 2001/05/25 15:45:33
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.7
9 2001/05/30 14:15:26
momjian Exp $
*
*
* NOTES:
* NOTES:
*
*
...
@@ -580,11 +580,11 @@ filepath(char *filename)
...
@@ -580,11 +580,11 @@ filepath(char *filename)
int
len
;
int
len
;
/* Not an absolute path name? Then fill in with database path... */
/* Not an absolute path name? Then fill in with database path... */
if
(
*
filename
!=
SEP_CHAR
)
if
(
*
filename
!=
'/'
)
{
{
len
=
strlen
(
DatabasePath
)
+
strlen
(
filename
)
+
2
;
len
=
strlen
(
DatabasePath
)
+
strlen
(
filename
)
+
2
;
buf
=
(
char
*
)
palloc
(
len
);
buf
=
(
char
*
)
palloc
(
len
);
sprintf
(
buf
,
"%s
%c%s"
,
DatabasePath
,
SEP_CHAR
,
filename
);
sprintf
(
buf
,
"%s
/%s"
,
DatabasePath
,
filename
);
}
}
else
else
{
{
...
...
src/backend/utils/cache/relcache.c
View file @
33f2614a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.13
4 2001/05/14 22:06:41
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/relcache.c,v 1.13
5 2001/05/30 14:15:26
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -2810,10 +2810,10 @@ write_irels(void)
...
@@ -2810,10 +2810,10 @@ write_irels(void)
* another backend starting at about the same time might crash trying
* another backend starting at about the same time might crash trying
* to read the partially-complete file.
* to read the partially-complete file.
*/
*/
snprintf
(
tempfilename
,
sizeof
(
tempfilename
),
"%s
%c
%s.%d"
,
snprintf
(
tempfilename
,
sizeof
(
tempfilename
),
"%s
/
%s.%d"
,
DatabasePath
,
SEP_CHAR
,
RELCACHE_INIT_FILENAME
,
MyProcPid
);
DatabasePath
,
RELCACHE_INIT_FILENAME
,
MyProcPid
);
snprintf
(
finalfilename
,
sizeof
(
finalfilename
),
"%s
%c
%s"
,
snprintf
(
finalfilename
,
sizeof
(
finalfilename
),
"%s
/
%s"
,
DatabasePath
,
SEP_CHAR
,
RELCACHE_INIT_FILENAME
);
DatabasePath
,
RELCACHE_INIT_FILENAME
);
fd
=
PathNameOpenFile
(
tempfilename
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
|
PG_BINARY
,
0600
);
fd
=
PathNameOpenFile
(
tempfilename
,
O_WRONLY
|
O_CREAT
|
O_TRUNC
|
PG_BINARY
,
0600
);
if
(
fd
<
0
)
if
(
fd
<
0
)
...
...
src/backend/utils/error/elog.c
View file @
33f2614a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.8
3 2001/03/22 03:59:58
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.8
4 2001/05/30 14:15:26
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -562,8 +562,8 @@ DebugFileOpen(void)
...
@@ -562,8 +562,8 @@ DebugFileOpen(void)
fd
=
fileno
(
stderr
);
fd
=
fileno
(
stderr
);
if
(
fcntl
(
fd
,
F_GETFD
,
0
)
<
0
)
if
(
fcntl
(
fd
,
F_GETFD
,
0
)
<
0
)
{
{
snprintf
(
OutputFileName
,
MAXPGPATH
,
"%s
%c
pg.errors.%d"
,
snprintf
(
OutputFileName
,
MAXPGPATH
,
"%s
/
pg.errors.%d"
,
DataDir
,
SEP_CHAR
,
(
int
)
MyProcPid
);
DataDir
,
(
int
)
MyProcPid
);
fd
=
open
(
OutputFileName
,
O_CREAT
|
O_APPEND
|
O_WRONLY
,
0666
);
fd
=
open
(
OutputFileName
,
O_CREAT
|
O_APPEND
|
O_WRONLY
,
0666
);
}
}
if
(
fd
<
0
)
if
(
fd
<
0
)
...
...
src/backend/utils/misc/database.c
View file @
33f2614a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.4
5 2001/03/22 06:16:19
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/Attic/database.c,v 1.4
6 2001/05/30 14:15:27
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -52,20 +52,19 @@ ExpandDatabasePath(const char *dbpath)
...
@@ -52,20 +52,19 @@ ExpandDatabasePath(const char *dbpath)
return
NULL
;
/* ain't gonna fit nohow */
return
NULL
;
/* ain't gonna fit nohow */
/* leading path delimiter? then already absolute path */
/* leading path delimiter? then already absolute path */
if
(
*
dbpath
==
SEP_CHAR
)
if
(
*
dbpath
==
'/'
)
{
{
#ifdef ALLOW_ABSOLUTE_DBPATHS
#ifdef ALLOW_ABSOLUTE_DBPATHS
cp
=
strrchr
(
dbpath
,
SEP_CHAR
);
cp
=
strrchr
(
dbpath
,
'/'
);
len
=
cp
-
dbpath
;
len
=
cp
-
dbpath
;
strncpy
(
buf
,
dbpath
,
len
);
strncpy
(
buf
,
dbpath
,
len
);
snprintf
(
&
buf
[
len
],
MAXPGPATH
-
len
,
"%cbase%c%s"
,
snprintf
(
&
buf
[
len
],
MAXPGPATH
-
len
,
"/base/%s"
,
(
cp
+
1
));
SEP_CHAR
,
SEP_CHAR
,
(
cp
+
1
));
#else
#else
return
NULL
;
return
NULL
;
#endif
#endif
}
}
/* path delimiter somewhere? then has leading environment variable */
/* path delimiter somewhere? then has leading environment variable */
else
if
((
cp
=
strchr
(
dbpath
,
SEP_CHAR
))
!=
NULL
)
else
if
((
cp
=
strchr
(
dbpath
,
'/'
))
!=
NULL
)
{
{
const
char
*
envvar
;
const
char
*
envvar
;
...
@@ -76,14 +75,12 @@ ExpandDatabasePath(const char *dbpath)
...
@@ -76,14 +75,12 @@ ExpandDatabasePath(const char *dbpath)
if
(
envvar
==
NULL
)
if
(
envvar
==
NULL
)
return
NULL
;
return
NULL
;
snprintf
(
buf
,
sizeof
(
buf
),
"%s%cbase%c%s"
,
snprintf
(
buf
,
sizeof
(
buf
),
"%s/base/%s"
,
envvar
,
(
cp
+
1
));
envvar
,
SEP_CHAR
,
SEP_CHAR
,
(
cp
+
1
));
}
}
else
else
{
{
/* no path delimiter? then add the default path prefix */
/* no path delimiter? then add the default path prefix */
snprintf
(
buf
,
sizeof
(
buf
),
"%s%cbase%c%s"
,
snprintf
(
buf
,
sizeof
(
buf
),
"%s/base/%s"
,
DataDir
,
dbpath
);
DataDir
,
SEP_CHAR
,
SEP_CHAR
,
dbpath
);
}
}
/*
/*
...
...
src/bin/pg_dump/pg_dump.c
View file @
33f2614a
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.2
09 2001/05/22 16:37:16 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.2
10 2001/05/30 14:15:27 momjian
Exp $
*
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
*
...
@@ -773,10 +773,10 @@ main(int argc, char **argv)
...
@@ -773,10 +773,10 @@ main(int argc, char **argv)
dataOnly
=
schemaOnly
=
dumpData
=
attrNames
=
false
;
dataOnly
=
schemaOnly
=
dumpData
=
attrNames
=
false
;
if
(
!
strrchr
(
argv
[
0
],
SEP_CHAR
))
if
(
!
strrchr
(
argv
[
0
],
'/'
))
progname
=
argv
[
0
];
progname
=
argv
[
0
];
else
else
progname
=
strrchr
(
argv
[
0
],
SEP_CHAR
)
+
1
;
progname
=
strrchr
(
argv
[
0
],
'/'
)
+
1
;
/* Set defaulty options based on progname */
/* Set defaulty options based on progname */
if
(
strcmp
(
progname
,
"pg_backup"
)
==
0
)
if
(
strcmp
(
progname
,
"pg_backup"
)
==
0
)
...
...
src/bin/psql/startup.c
View file @
33f2614a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.4
8 2001/05/12 19:44:46 petere
Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.4
9 2001/05/30 14:15:27 momjian
Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
...
@@ -102,10 +102,10 @@ main(int argc, char *argv[])
...
@@ -102,10 +102,10 @@ main(int argc, char *argv[])
char
*
password
=
NULL
;
char
*
password
=
NULL
;
bool
need_pass
;
bool
need_pass
;
if
(
!
strrchr
(
argv
[
0
],
SEP_CHAR
))
if
(
!
strrchr
(
argv
[
0
],
'/'
))
pset
.
progname
=
argv
[
0
];
pset
.
progname
=
argv
[
0
];
else
else
pset
.
progname
=
strrchr
(
argv
[
0
],
SEP_CHAR
)
+
1
;
pset
.
progname
=
strrchr
(
argv
[
0
],
'/'
)
+
1
;
if
(
argc
>
1
)
if
(
argc
>
1
)
{
{
...
...
src/include/c.h
View file @
33f2614a
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Id: c.h,v 1.9
2 2001/03/22 04:00:24
momjian Exp $
* $Id: c.h,v 1.9
3 2001/05/30 14:15:27
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -594,7 +594,6 @@ typedef NameData *Name;
...
@@ -594,7 +594,6 @@ typedef NameData *Name;
/* These are for things that are one way on Unix and another on NT */
/* These are for things that are one way on Unix and another on NT */
#define NULL_DEV "/dev/null"
#define NULL_DEV "/dev/null"
#define SEP_CHAR '/'
/* defines for dynamic linking on Win32 platform */
/* defines for dynamic linking on Win32 platform */
#ifdef __CYGWIN__
#ifdef __CYGWIN__
...
...
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