postgresql/src/include
Tom Lane 7ca6422075 Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl().
This is a Linux kernel bug that apparently exists in every extant kernel
version: sometimes shmctl() will fail with EIDRM when EINVAL is correct.
We were assuming that EIDRM indicates a possible conflict with pre-existing
backends, and refusing to start the postmaster when this happens.  Fortunately,
there does not seem to be any case where Linux can legitimately return EIDRM
(it doesn't track shmem segments in a way that would allow that), so we can
get away with just assuming that EIDRM means EINVAL on this platform.

Per reports from Michael Fuhr and Jon Lapham --- it's a bit surprising
we have not seen more reports, actually.
2007-07-02 20:12:26 +00:00
..
access Back-patch fixes for problems with VACUUM destroying t_ctid chains too soon, 2005-08-26 20:07:17 +00:00
bootstrap Update copyright to 2002. 2002-06-20 20:29:54 +00:00
catalog Repair insufficiently careful type checking for SQL-language functions: 2007-02-02 00:04:16 +00:00
commands GetTupleForTrigger must use outer transaction's command counter for time 2003-03-27 14:33:21 +00:00
executor Repair "Halloween problem" in EvalPlanQual: a tuple that's been inserted by 2006-01-12 21:49:41 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Allow 'password' encryption even when pg_shadow has MD5 passwords, per 2002-12-05 18:40:08 +00:00
mb Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:07:13 +00:00
nodes Change CREATE TABLE AS / SELECT INTO to create the new table with OIDs, 2003-01-23 05:10:57 +00:00
optimizer The result of a FULL or RIGHT join can't be assumed to be sorted by the 2005-01-23 02:24:30 +00:00
parser Add a new GUC parameter backslash_quote, which determines whether the SQL 2006-05-21 20:12:20 +00:00
port Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl(). 2007-07-02 20:12:26 +00:00
regex pgindent run. 2002-09-04 20:31:48 +00:00
rewrite Rule rewriter was doing the wrong thing with conditional INSTEAD rules 2002-10-20 00:58:55 +00:00
storage Back-port Postgres 7.4 spinlock code into 7.3 branch. This adds 2006-06-01 23:18:11 +00:00
tcop Push enable/disable of notify and catchup interrupts all the way down 2005-06-02 21:04:30 +00:00
utils Fix dynahash.c to suppress hash bucket splits while a hash_seq_search() scan 2007-04-26 23:25:48 +00:00
c.h Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:07:13 +00:00
fmgr.h Add dummy variable declaration to PG_FUNCTION_INFO_V1() to prevent 2002-10-25 22:17:32 +00:00
funcapi.h pgindent run. 2002-09-04 20:31:48 +00:00
Makefile Include directory rearrangement 2001-08-28 14:20:28 +00:00
miscadmin.h This patch removes two unused global variables from globals.c 2002-10-03 17:07:53 +00:00
pg_config.h.in Add port support for unsetenv() in back branches. Needed for locale 2006-01-05 00:51:52 +00:00
pg_config.h.win32 Stamp releases 8.2.4, 8.1.9, 8.0.13, 7.4.17, 7.3.19. 2007-04-19 03:06:28 +00:00
pgstat.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
postgres.h Make 'dummy' declarations in header files be 'extern int no_such_variable' 2002-10-18 20:33:57 +00:00
postgres_ext.h Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per discussion on hackers. 2002-08-13 20:40:44 +00:00
postgres_fe.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
rusagestub.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
strdup.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00