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
4f82ab4c
Commit
4f82ab4c
authored
Oct 28, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#define JMP_BUF has been unnecessary since the arrival of the sigsetjmp
test.
parent
0c0a1763
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
24 deletions
+4
-24
src/backend/utils/error/exc.c
src/backend/utils/error/exc.c
+1
-5
src/include/port/hpux.h
src/include/port/hpux.h
+0
-1
src/include/port/linux.h
src/include/port/linux.h
+0
-1
src/include/port/nextstep.h
src/include/port/nextstep.h
+0
-2
src/include/port/win.h
src/include/port/win.h
+0
-1
src/include/port/win32.h
src/include/port/win32.h
+0
-2
src/include/utils/exc.h
src/include/utils/exc.h
+3
-12
No files found.
src/backend/utils/error/exc.c
View file @
4f82ab4c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.3
1 2000/10/03 03:11:22 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.3
2 2000/10/28 23:53:00 petere
Exp $
*
*
* NOTE
* NOTE
* XXX this code needs improvement--check for state violations and
* XXX this code needs improvement--check for state violations and
...
@@ -203,10 +203,6 @@ ExcRaise(Exception *excP,
...
@@ -203,10 +203,6 @@ ExcRaise(Exception *excP,
ExcCurFrameP
=
efp
->
link
;
ExcCurFrameP
=
efp
->
link
;
#if defined (JMP_BUF)
longjmp
(
efp
->
context
,
1
);
#else
siglongjmp
(
efp
->
context
,
1
);
siglongjmp
(
efp
->
context
,
1
);
#endif
}
}
}
}
src/include/port/hpux.h
View file @
4f82ab4c
#define JMP_BUF
#define USE_POSIX_TIME
#define USE_POSIX_TIME
#define HAS_TEST_AND_SET
#define HAS_TEST_AND_SET
typedef
struct
typedef
struct
...
...
src/include/port/linux.h
View file @
4f82ab4c
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
__USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
be used.
be used.
*/
*/
#define JMP_BUF
#define USE_POSIX_TIME
#define USE_POSIX_TIME
#if defined(__i386__)
#if defined(__i386__)
...
...
src/include/port/nextstep.h
View file @
4f82ab4c
...
@@ -12,9 +12,7 @@ typedef int sigset_t;
...
@@ -12,9 +12,7 @@ typedef int sigset_t;
#define SIG_BLOCK 00
#define SIG_BLOCK 00
#define SIG_UNBLOCK 01
#define SIG_UNBLOCK 01
#define SIG_SETMASK 02
#define SIG_SETMASK 02
#define NEED_SIG_JMP
#endif
#endif
#define JMP_BUF
#define NO_WAITPID
#define NO_WAITPID
typedef
struct
mutex
slock_t
;
typedef
struct
mutex
slock_t
;
src/include/port/win.h
View file @
4f82ab4c
#define JMP_BUF
#define HAS_TEST_AND_SET
#define HAS_TEST_AND_SET
typedef
unsigned
char
slock_t
;
typedef
unsigned
char
slock_t
;
...
...
src/include/port/win32.h
View file @
4f82ab4c
#define JMP_BUF
#define NEED_SIG_JMP
#define USES_WINSOCK
#define USES_WINSOCK
#define NOFILE 100
#define NOFILE 100
src/include/utils/exc.h
View file @
4f82ab4c
...
@@ -7,31 +7,22 @@
...
@@ -7,31 +7,22 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Id: exc.h,v 1.1
6 2000/01/26 05:58:38 momjian
Exp $
* $Id: exc.h,v 1.1
7 2000/10/28 23:53:01 petere
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
#ifndef EXC_H
#ifndef EXC_H
#define EXC_H
#define EXC_H
#include <setjmp.h>
#include "config.h"
#include "config.h"
#include <setjmp.h>
extern
char
*
ExcFileName
;
extern
char
*
ExcFileName
;
extern
Index
ExcLineNumber
;
extern
Index
ExcLineNumber
;
/*
* ExcMessage and Exception are now defined in c.h
*/
#if defined(JMP_BUF)
typedef
jmp_buf
ExcContext
;
#else
typedef
sigjmp_buf
ExcContext
;
typedef
sigjmp_buf
ExcContext
;
#endif
typedef
Exception
*
ExcId
;
typedef
Exception
*
ExcId
;
typedef
long
ExcDetail
;
typedef
long
ExcDetail
;
typedef
char
*
ExcData
;
typedef
char
*
ExcData
;
...
...
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