From 6cb6d05456badf00869afde94f94bd3ef174e0ca Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 12 Jun 2000 22:36:19 +0000 Subject: Brand 7.1 release. Also update jdbc version in release branch. --- doc/src/FAQ.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'doc/src/FAQ.html') diff --git a/doc/src/FAQ.html b/doc/src/FAQ.html index a71b00f90e3..e549bb98a45 100644 --- a/doc/src/FAQ.html +++ b/doc/src/FAQ.html @@ -137,7 +137,9 @@ am running?
large obj descriptor. Why?
4.22) How do I create a column that will default to the current time?
-4.23) Why are my subqueries using IN so slow?
+4.23) Why are my subqueries using IN so +slow?
+4.24) How do I do an outer join?

Extending PostgreSQL

@@ -1206,6 +1208,22 @@ to: We hope to fix this limitation in a future release. +

4.24) How do I do an outer join?

+PostgreSQL does not support outer joins in the current release. They can +be simulated using UNION and NOT IN. For +example, when joining tab1 and tab2, the following query +does an outer join of the two tables: +

+	SELECT tab1.col1, tab2.col2
+	FROM tab1, tab2
+	WHERE tab1.col1 = tab2.col1
+	UNION ALL
+	SELECT tab1.col1, NULL
+	FROM tab1
+	WHERE tab1.col1 NOT IN (SELECT tab2.col1 FROM tab2)
+	ORDER BY tab1.col1
+
+

Extending PostgreSQL

-- cgit v1.2.3