The following bug has been logged online:
Bug reference: 5263
Logged by: Jozsef Szalay
Email address: jszalay(at)storediq(dot)com
PostgreSQL version: 8.4.2
Operating system: Windows, Linux (Fedora/CentOS)
Description: Query execution fails with "ERROR: FULL JOIN is only
supported with merge-joinable join conditions"
Create a table:
CREATE TABLE test
description character varying,
CONSTRAINT test_pkey PRIMARY KEY (id)
Execute the following query:
FROM (SELECT id, 0 AS value
WHERE description = 'abc'
FULL OUTER JOIN
(SELECT id, 1 AS value
WHERE description = 'def'
) t2 USING (id, value);
You'll get the "ERROR: FULL JOIN is only supported with merge-joinable join
This used to work with 8.3.7 (and before).
I can make the query work by adding an "ORDER BY id, value" clause to each
sub-query or if I use the same constant (e.g. "0") as value in both
pgsql-bugs by date
|Next:||From: venkat nemani||Date: 2010-01-05 07:06:45|
|Subject: BUG #5264: could not create shared memory segment: Invalid argument|
|Previous:||From: Robert Haas||Date: 2010-01-04 19:28:29|
|Subject: Re: BUG #5261: Invalide page header|