diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-05-05 00:03:29 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-05-05 00:03:29 +0000 |
| commit | 72a3902a664c7fbceb2034e28e444b28f96fa717 (patch) | |
| tree | ff42e4494af6ea1c1cdf524f3feb5fc670217f0c /src/include/pg_config.h.in | |
| parent | 91fc10fdacfcbadc123fd9d8ee16a4568f8c636b (diff) | |
| download | postgresql-72a3902a664c7fbceb2034e28e444b28f96fa717.tar.gz | |
Create an internal semaphore API that is not tied to SysV semaphores.
As proof of concept, provide an alternate implementation based on POSIX
semaphores. Also push the SysV shared-memory implementation into a
separate file so that it can be replaced conveniently.
Diffstat (limited to 'src/include/pg_config.h.in')
| -rw-r--r-- | src/include/pg_config.h.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 80b904181d..b3a5b8d6e1 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -8,7 +8,7 @@ * or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your * changes will be overwritten the next time you run configure. * - * $Id: pg_config.h.in,v 1.23 2002/04/21 19:48:19 thomas Exp $ + * $Id: pg_config.h.in,v 1.24 2002/05/05 00:03:29 tgl Exp $ */ #ifndef PG_CONFIG_H @@ -711,6 +711,15 @@ extern int fdatasync(int fildes); /* Define if you have syslog() */ #undef HAVE_SYSLOG +/* Define exactly one of these symbols to select semaphore implementation */ +#undef USE_NAMED_POSIX_SEMAPHORES +#undef USE_UNNAMED_POSIX_SEMAPHORES +#undef USE_SYSV_SEMAPHORES + +/* Define exactly one of these symbols to select shared-mem implementation */ +#undef USE_SYSV_SHARED_MEMORY + + /* *------------------------------------------------------------------------ * Part 4: pull in system-specific declarations. |
