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
37ce95c4
Commit
37ce95c4
authored
Jun 13, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FAQ.
parent
9c77f4ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
doc/FAQ
doc/FAQ
+16
-0
No files found.
doc/FAQ
View file @
37ce95c4
...
@@ -102,6 +102,7 @@
...
@@ -102,6 +102,7 @@
Why?
Why?
4.22) How do I create a column that will default to the current time?
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
Extending PostgreSQL
...
@@ -992,6 +993,21 @@ BYTEA bytea variable-length array of bytes
...
@@ -992,6 +993,21 @@ BYTEA bytea variable-length array of bytes
WHERE EXISTS (SELECT col2 FROM TAB2 WHERE col1 = col2)
WHERE EXISTS (SELECT col2 FROM TAB2 WHERE col1 = col2)
We hope to fix this limitation in a future release.
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
Extending PostgreSQL
...
...
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