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
83526ccf
Commit
83526ccf
authored
May 27, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup for Win32 pgkill.
parent
6f21f4ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
src/backend/port/win32/signal.c
src/backend/port/win32/signal.c
+1
-2
src/include/port.h
src/include/port.h
+6
-1
src/include/port/win32.h
src/include/port/win32.h
+1
-4
No files found.
src/backend/port/win32/signal.c
View file @
83526ccf
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/port/win32/signal.c,v 1.
2 2004/05/27 13:08:50
momjian Exp $
* $PostgreSQL: pgsql/src/backend/port/win32/signal.c,v 1.
3 2004/05/27 14:39:29
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -21,7 +21,6 @@
static
CRITICAL_SECTION
pg_signal_crit_sec
;
static
int
pg_signal_queue
;
#define PG_SIGNAL_COUNT 32
static
pqsigfunc
pg_signal_array
[
PG_SIGNAL_COUNT
];
static
pqsigfunc
pg_signal_defaults
[
PG_SIGNAL_COUNT
];
static
int
pg_signal_mask
;
...
...
src/include/port.h
View file @
83526ccf
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.3
8 2004/05/25 01:00:28
momjian Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.3
9 2004/05/27 14:39:32
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -101,7 +101,12 @@ extern off_t ftello(FILE *stream);
extern
int
pgpipe
(
int
handles
[
2
]);
extern
int
piperead
(
int
s
,
char
*
buf
,
int
len
);
#define pipewrite(a,b,c) send(a,b,c,0)
#define PG_SIGNAL_COUNT 32
#define kill(pid,sig) pgkill(pid,sig)
extern
int
pgkill
(
int
pid
,
int
sig
);
#endif
extern
int
pclose_check
(
FILE
*
stream
);
#if defined(__MINGW32__) || defined(__CYGWIN__)
...
...
src/include/port/win32.h
View file @
83526ccf
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.2
4 2004/05/27 13:08:54
momjian Exp $ */
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.2
5 2004/05/27 14:39:33
momjian Exp $ */
/* undefine and redefine after #include */
#undef mkdir
...
...
@@ -116,9 +116,6 @@ void pg_queue_signal(int signum);
#define SIG_ERR ((pqsigfunc)-1)
#define SIG_IGN ((pqsigfunc)1)
#define kill(pid,sig) pgkill(pid,sig)
extern
int
pgkill
(
int
pid
,
int
sig
);
#ifndef FRONTEND
#define pg_usleep(t) pgwin32_backend_usleep(t)
void
pgwin32_backend_usleep
(
long
microsec
);
...
...
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